diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/python-vcstools/PKGBUILD | 25 | ||||
-rw-r--r-- | pcr/python2-vcstools/PKGBUILD | 22 |
2 files changed, 25 insertions, 22 deletions
diff --git a/pcr/python-vcstools/PKGBUILD b/pcr/python-vcstools/PKGBUILD new file mode 100644 index 000000000..6d1530354 --- /dev/null +++ b/pcr/python-vcstools/PKGBUILD @@ -0,0 +1,25 @@ +# Contributor (Arch) : Georg Bremer <pkgbuild@dschoordsch.de> +# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp> + +_pkgname=vcstools +pkgname=(python{,2}-$_pkgname) +pkgver=0.1.40 +pkgrel=1 +pkgdesc='API for interacting with different version control systems (VCS/SCMs)' +arch=(any) +url="http://ros.org/" +license=('BSD3') + +makedepends=(python{,2}-setuptools) +source=("https://files.pythonhosted.org/packages/source/v/vcstools/$_pkgname-$pkgver.tar.gz") +sha256sums=('95586ab5a8dc02cd52074d88c4c8ecd20dfbaacaf4078b4c7ac1cf706ed4cad5') + +_package() { + depends=($1 $1-yaml) + cd "$srcdir"/$_pkgname-$pkgver + $1 setup.py install --root="$pkgdir" +} + +for _pkg in "${pkgname[@]}"; do + eval "package_$_pkg () { _package ${_pkg%%-*}; }" +done diff --git a/pcr/python2-vcstools/PKGBUILD b/pcr/python2-vcstools/PKGBUILD deleted file mode 100644 index 47fbf9bed..000000000 --- a/pcr/python2-vcstools/PKGBUILD +++ /dev/null @@ -1,22 +0,0 @@ -# Contributor (Arch) : Georg Bremer <pkgbuild@dschoordsch.de> -# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp> - -pkgname='python2-vcstools' -pkgver=0.1.36 -pkgrel=1 -pkgdesc='API for interacting with different version control systems (VCS/SCMs)' -arch=('any') -url="http://ros.org/" -license=('BSD3') -depends=('python2' 'python2-yaml') -makedepends=('python2-setuptools') -conflicts=('vcstools') -replaces=('vcstools') -source=("http://download.ros.org/downloads/vcstools/vcstools-$pkgver.tar.gz") -md5sums=('e3ef997da464cf284ca36fd60e993ed6') - -package() { - cd "$srcdir/vcstools-$pkgver" - python2 setup.py install --root "$pkgdir" -} -# vim:set ts=2 sw=2 et: |