[arch-commits] Commit in python-betamax-serializers/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Aug 21 03:16:58 UTC 2019
Date: Wednesday, August 21, 2019 @ 03:16:57
Author: felixonmars
Revision: 500378
upgpkg: python-betamax-serializers 0.2.1-2
remove python2 sibling
Modified:
python-betamax-serializers/trunk/PKGBUILD
----------+
PKGBUILD | 30 ++++++++----------------------
1 file changed, 8 insertions(+), 22 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-08-21 03:09:07 UTC (rev 500377)
+++ PKGBUILD 2019-08-21 03:16:57 UTC (rev 500378)
@@ -1,32 +1,18 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
-pkgbase=python-betamax-serializers
-pkgname=('python-betamax-serializers' 'python2-betamax-serializers')
+pkgname=python-betamax-serializers
pkgver=0.2.1
-pkgrel=1
+pkgrel=2
pkgdesc="A set of third-party serializers for Betamax"
arch=('any')
license=('Apache')
url='https://gitlab.com/betamax/serializers'
-makedepends=('python-setuptools' 'python2-setuptools' 'python-betamax' 'git')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("git+https://gitlab.com/betamax/serializers.git#tag=$pkgver")
-md5sums=('SKIP')
+depends=('python-betamax')
+makedepends=('python-setuptools')
+source=("https://gitlab.com/betamax/serializers/-/archive/$pkgver/serializers-$pkgver.tar.bz2")
+md5sums=('c414d60fbea0c6890ea7f323f4ffc875')
-prepare() {
- cp -a serializers{,-py2}
-}
-
-package_python-betamax-serializers() {
- depends=('python-betamax')
-
- cd serializers
+package() {
+ cd serializers-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
}
-
-package_python2-betamax-serializers() {
- depends=('python2-betamax')
-
- cd serializers-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
-}
More information about the arch-commits
mailing list