summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2019-02-22 11:20:08 +0100
committerAndreas Grapentin <andreas@grapentin.org>2019-02-22 11:20:08 +0100
commit4ff861888d7861fcb15e340f7b6b81a362c3e0fe (patch)
tree11457c88da7df12c21d099a21df9c322ee5a167a
parentb259868df6ceb67f746bc5760d146f08eefdbbae (diff)
downloadabslibre-4ff861888d7861fcb15e340f7b6b81a362c3e0fe.tar.gz
abslibre-4ff861888d7861fcb15e340f7b6b81a362c3e0fe.tar.bz2
abslibre-4ff861888d7861fcb15e340f7b6b81a362c3e0fe.zip
pcr/python-wstool: moved from python2-wstool and updated
-rw-r--r--pcr/python-wstool/PKGBUILD26
-rw-r--r--pcr/python2-wstool/PKGBUILD24
2 files changed, 26 insertions, 24 deletions
diff --git a/pcr/python-wstool/PKGBUILD b/pcr/python-wstool/PKGBUILD
new file mode 100644
index 000000000..72fa7732e
--- /dev/null
+++ b/pcr/python-wstool/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer (AUR): Kartik Mohta <kartikmohta@gmail.com>
+# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+_pkgname=wstool
+pkgname=python-$_pkgname
+pkgver=0.1.17
+pkgrel=1
+pkgdesc="workspace multi-SCM commands"
+url="http://wiki.ros.org/wstool"
+depends=('python' 'python-vcstools' 'python-yaml')
+replaces=('python2-wstool')
+makedepends=('python-setuptools')
+license=('BSD3')
+arch=('any')
+source=("https://files.pythonhosted.org/packages/source/w/wstool/wstool-${pkgver}.tar.gz")
+sha256sums=('c79b4f110ef17004c24972d742d2c5f606b0f6b424295e7ed029a48e857de237')
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}
diff --git a/pcr/python2-wstool/PKGBUILD b/pcr/python2-wstool/PKGBUILD
deleted file mode 100644
index 43b2401ab..000000000
--- a/pcr/python2-wstool/PKGBUILD
+++ /dev/null
@@ -1,24 +0,0 @@
-# Contributor (Arch) : Georg Bremer <pkgbuild@dschoordsch.de>
-# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
-
-pkgname='python2-wstool'
-pkgver=0.1.6
-pkgrel=1
-pkgdesc='wstool provides commands to manage several local SCM repositories (supports git, mercurial, subversion, bazaar) based on a single workspace definition file (.rosinstall)'
-arch=('any')
-url="http://ros.org/"
-license=('BSD3')
-depends=('python2' 'python2-yaml' 'python2-vcstools')
-makedepends=('python2-setuptools')
-optdepends=()
-provides=('wstool')
-conflicts=('wstool')
-source=("http://download.ros.org/downloads/wstool/wstool-$pkgver.tar.gz")
-md5sums=('38cbe5a549c2c1eec017f6d92181674c')
-
-package() {
- cd "$srcdir/wstool-$pkgver"
- python2 setup.py install --root "$pkgdir"
-}
-
-# vim:set ts=2 sw=2 et: