[arch-commits] Commit in python-genty/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Mon Nov 29 19:33:01 UTC 2021
Date: Monday, November 29, 2021 @ 19:33:00
Author: arojas
Revision: 1057601
Drop python2
Modified:
python-genty/trunk/PKGBUILD
----------+
PKGBUILD | 31 ++++++-------------------------
1 file changed, 6 insertions(+), 25 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-29 19:32:10 UTC (rev 1057600)
+++ PKGBUILD 2021-11-29 19:33:00 UTC (rev 1057601)
@@ -1,48 +1,29 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
-pkgbase=python-genty
-pkgname=('python-genty' 'python2-genty')
+pkgname=python-genty
pkgver=1.3.2
-pkgrel=7
+pkgrel=8
pkgdesc="Allows you to run a test with multiple data sets"
arch=('any')
license=('Apache')
url="https://github.com/box/genty"
-makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six' 'git')
-checkdepends=('python-mock' 'python2-mock')
+depends=('python-six')
+makedepends=('python-setuptools' 'git')
+checkdepends=('python-mock')
source=("git+https://github.com/box/genty.git#tag=v$pkgver")
sha512sums=('SKIP')
-prepare() {
- cp -a genty{,-py2}
-}
-
build() {
cd "$srcdir/genty"
python setup.py build
-
- cd "$srcdir/genty-py2"
- python2 setup.py build
}
check() {
cd "$srcdir/genty"
python setup.py test
-
- cd "$srcdir/genty-py2"
- python2 setup.py test
}
-package_python-genty() {
- depends=('python-six')
-
+package() {
cd genty
python setup.py install --root="${pkgdir}" --optimize=1
}
-
-package_python2-genty() {
- depends=('python2-six')
-
- cd genty-py2
- python2 setup.py install --root="${pkgdir}" --optimize=1
-}
More information about the arch-commits
mailing list