[arch-commits] Commit in python-exam/repos/community-any (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Wed Jan 15 17:15:40 UTC 2020


    Date: Wednesday, January 15, 2020 @ 17:15:39
  Author: arojas
Revision: 552662

archrelease: copy trunk to community-any

Added:
  python-exam/repos/community-any/PKGBUILD
    (from rev 552661, python-exam/trunk/PKGBUILD)
Deleted:
  python-exam/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   86 +++++++++++++++++++++++--------------------------------------
 1 file changed, 33 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-15 17:15:19 UTC (rev 552661)
+++ PKGBUILD	2020-01-15 17:15:39 UTC (rev 552662)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_pypiname=exam
-pkgbase=python-exam
-pkgname=('python-exam' 'python2-exam')
-pkgver=0.10.6
-pkgrel=5
-pkgdesc="Helpers for better testing"
-arch=('any')
-url="https://pypi.python.org/pypi/exam"
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-mock' 'python2-mock' 'git')
-checkdepends=('python-nose' 'python2-nose')
-source=("git+https://github.com/Fluxx/exam.git#tag=$pkgver")
-md5sums=('SKIP')
-
-prepare() {
-  cp -a exam{,-py2}
-}
-
-build() {
-  cd "$srcdir/exam"
-  python setup.py build
-
-  cd "$srcdir/exam-py2"
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir/exam"
-  python setup.py test
-
-  cd "$srcdir/exam-py2"
-  python2 setup.py test
-}
-
-package_python-exam() {
-  depends=('python-mock')
-
-  cd "$srcdir/$_pypiname"
-  python setup.py install --root="$pkgdir/" --optimize=1
-  install -Dm664 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python2-exam() {
-  depends=('python2-mock')
-
-  cd "$srcdir/$_pypiname-py2"
-  python2 setup.py install --root="$pkgdir/" --optimize=1
-  install -Dm664 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-exam/repos/community-any/PKGBUILD (from rev 552661, python-exam/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-01-15 17:15:39 UTC (rev 552662)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_pypiname=exam
+pkgname=python-exam
+pkgver=0.10.6
+pkgrel=6
+pkgdesc="Helpers for better testing"
+arch=('any')
+url="https://pypi.python.org/pypi/exam"
+license=('MIT')
+depends=('python-mock')
+makedepends=('python-setuptools' 'git')
+checkdepends=('python-nose')
+source=("git+https://github.com/Fluxx/exam.git#tag=$pkgver")
+md5sums=('SKIP')
+
+build() {
+  cd "$srcdir/exam"
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir/exam"
+  python setup.py test
+}
+
+package() {
+  cd "$srcdir/$_pypiname"
+  python setup.py install --root="$pkgdir/" --optimize=1
+  install -Dm664 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list