[arch-commits] Commit in python-unittest-mixins/repos/community-any (2 files)

Jelle van der Waa jelle at archlinux.org
Sun Jul 12 11:19:51 UTC 2020


    Date: Sunday, July 12, 2020 @ 11:19:51
  Author: jelle
Revision: 663314

archrelease: copy trunk to community-any

Added:
  python-unittest-mixins/repos/community-any/PKGBUILD
    (from rev 663313, python-unittest-mixins/trunk/PKGBUILD)
Deleted:
  python-unittest-mixins/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   81 +++++++++++++++++++++++--------------------------------------
 1 file changed, 31 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-12 11:19:45 UTC (rev 663313)
+++ PKGBUILD	2020-07-12 11:19:51 UTC (rev 663314)
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-unittest-mixins
-pkgname=('python-unittest-mixins' 'python2-unittest-mixins')
-pkgver=1.6
-pkgrel=3
-pkgdesc='Helpful mixins for unittest classes'
-arch=('any')
-license=('Apache')
-url='https://github.com/nedbat/unittest-mixins'
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/nedbat/unittest-mixins/archive/v$pkgver.tar.gz")
-sha512sums=('0d4a0bbf80264f34a03aebbb2668733cd3753f99b24b006ea6704a2b97df9fb51755e8c4efd0094219e65d25756ea31ff27d3892b32ab6829050236a6bcbc986')
-
-prepare() {
-  cp -a unittest-mixins-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/unittest-mixins-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/unittest-mixins-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/unittest-mixins-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/unittest-mixins-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-unittest-mixins() {
-  depends=('python-six')
-
-  cd unittest-mixins-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-unittest-mixins() {
-  depends=('python2-six')
-
-  cd unittest-mixins-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-unittest-mixins/repos/community-any/PKGBUILD (from rev 663313, python-unittest-mixins/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-12 11:19:51 UTC (rev 663314)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-unittest-mixins
+pkgver=1.6
+pkgrel=4
+pkgdesc='Helpful mixins for unittest classes'
+arch=('any')
+license=('Apache')
+url='https://github.com/nedbat/unittest-mixins'
+depends=('python-six')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/nedbat/unittest-mixins/archive/v$pkgver.tar.gz")
+sha512sums=('0d4a0bbf80264f34a03aebbb2668733cd3753f99b24b006ea6704a2b97df9fb51755e8c4efd0094219e65d25756ea31ff27d3892b32ab6829050236a6bcbc986')
+
+build() {
+  cd "$srcdir"/unittest-mixins-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/unittest-mixins-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd unittest-mixins-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list