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