summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-05-08 15:31:48 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-05-08 18:23:12 -0400
commit9761faa57c5ee750118f60c2708a97dde1d392e7 (patch)
tree7f386617757b2b020b84060ef2e6abd888dd336a /pcr
parentbb06f05d1299aac7c603aeee3f6473817c299e5b (diff)
downloadabslibre-9761faa57c5ee750118f60c2708a97dde1d392e7.tar.gz
abslibre-9761faa57c5ee750118f60c2708a97dde1d392e7.tar.bz2
abslibre-9761faa57c5ee750118f60c2708a97dde1d392e7.zip
Revert "pcr/python-pyspf: re-added split package for python2-pyspf"
This reverts commit 60d6447e482f4645bc11dcea0cbe5d93280f9f6c. But bump pkgrel 3 -> 4 instead of reverting to 2.
Diffstat (limited to 'pcr')
-rw-r--r--pcr/python-pyspf/PKGBUILD23
1 files changed, 8 insertions, 15 deletions
diff --git a/pcr/python-pyspf/PKGBUILD b/pcr/python-pyspf/PKGBUILD
index 8048baa29..91c31bba3 100644
--- a/pcr/python-pyspf/PKGBUILD
+++ b/pcr/python-pyspf/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor (AUR): Samed Beyribey <ras0ir@eventualis.org>
_pkgname=pyspf
-pkgname=(python-pyspf python2-pyspf)
+pkgname=python-$_pkgname
_basever=2.0.12
_patchver=t
_pkgver=${_basever}${_patchver}
@@ -14,22 +14,15 @@ license=('PSF')
source=("https://pypi.python.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$_pkgver.tar.gz")
md5sums=('c83143ad79074bf8c80235748a8a698f')
-pkgrel=3
+pkgrel=4
arch=('any')
-makedepends=('python' 'python2')
-
-package_python-pyspf() {
- depends=('python python-py3dns')
- optdepends=('python-authres: Return RFC 5451 Authentication Results headers')
+depends=('python-py3dns')
+makedepends=('python-setuptools')
+optdepends=('python-authres: Return RFC 5451 Authentication Results headers')
+conflicts=(python2-pyspf)
+package() {
cd "$srcdir/$_pkgname-${_basever}"
- python setup.py install --root="$pkgdir" --optimize=1
-}
-package_python2-pyspf() {
- depends=('python2 python2-pydns python2-ipaddr')
- optdepends=('python2-authres: Return RFC 5451 Authentication Results headers')
-
- cd "$srcdir/$_pkgname-${_basever}"
- python2 setup.py install --root="$pkgdir" --optimize=1
+ python setup.py install --root="$pkgdir" --optimize=1
}