diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2022-01-19 08:54:05 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2022-01-19 08:54:05 +0100 |
commit | 323202e3dce36faf9a62b3cf9413633b67323a6f (patch) | |
tree | 9c896c66ec7fbbb3efeb51e01cd100ff0426a53c /pcr/python-pypump/PKGBUILD | |
parent | c2323144634022208f8fde12e81aa8ad1292f378 (diff) | |
download | abslibre-323202e3dce36faf9a62b3cf9413633b67323a6f.tar.gz abslibre-323202e3dce36faf9a62b3cf9413633b67323a6f.tar.bz2 abslibre-323202e3dce36faf9a62b3cf9413633b67323a6f.zip |
pcr/python-pypump: rebuilt and dropped python2-pypump split package because upstream depends are gone
Diffstat (limited to 'pcr/python-pypump/PKGBUILD')
-rw-r--r-- | pcr/python-pypump/PKGBUILD | 26 |
1 files changed, 7 insertions, 19 deletions
diff --git a/pcr/python-pypump/PKGBUILD b/pcr/python-pypump/PKGBUILD index 57cda9cfa..48e13155c 100644 --- a/pcr/python-pypump/PKGBUILD +++ b/pcr/python-pypump/PKGBUILD @@ -1,37 +1,33 @@ # Maintainer: David P. <megver83@hyperbola.info> +# parabola changes and rationale: +# - removed python2 split package because upstream dependencies are gone + pkgbase=python-pypump -pkgname=('python-pypump' 'python2-pypump') +pkgname=('python-pypump') pkgver=0.7 -pkgrel=1 +pkgrel=2 arch=('any') license=('GPL3') pkgdesc="Python pump.io library" url="https://github.com/xray7224/PyPump" -makedepends=('python-setuptools' 'python2-setuptools') -checkdepends=('python-dateutil' 'python2-dateutil' 'python-requests' 'python2-requests' 'python-requests-oauthlib' 'python2-requests-oauthlib') +makedepends=('python-setuptools') +checkdepends=('python-dateutil' 'python-requests' 'python-requests-oauthlib') source=("$pkgbase-$pkgver.tar.gz::https://github.com/xray7224/PyPump/archive/v$pkgver.tar.gz") sha512sums=('3906118f681dd886bd8e3d57a49f66a0bc4236fe526d8137905ea8f7fd9bc9fea61a5646ca6e6617095fab62ab3ce91f2ea7d2c5e150125f399048c2f8831e86') prepare() { mv PyPump-$pkgver pypump-$pkgver - cp -a pypump-$pkgver{,-py2} } build() { cd "$srcdir"/pypump-$pkgver python setup.py build - - cd "$srcdir"/pypump-$pkgver-py2 - python2 setup.py build } check() { cd "$srcdir"/pypump-$pkgver python setup.py test - - cd "$srcdir"/pypump-$pkgver-py2 - python setup.py test } package_python-pypump() { @@ -41,11 +37,3 @@ package_python-pypump() { python setup.py install --root="$pkgdir" --optimize=1 install -D -m644 COPYING "$pkgdir"/usr/share/licenses/python-pypump/LICENSE } - -package_python2-pypump() { - depends=('python2' 'python2-requests' 'python2-requests-oauthlib') - - cd pypump-$pkgver-py2 - python2 setup.py install --root="$pkgdir" --optimize=1 - install -D -m644 COPYING "$pkgdir"/usr/share/licenses/python2-pypump/LICENSE -} |