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

Felix Yan felixonmars at archlinux.org
Thu Nov 9 09:18:47 UTC 2017


    Date: Thursday, November 9, 2017 @ 09:18:44
  Author: felixonmars
Revision: 265843

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  102 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 51 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-09 09:17:58 UTC (rev 265842)
+++ PKGBUILD	2017-11-09 09:18:44 UTC (rev 265843)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-unittest-mixins
-pkgname=('python-unittest-mixins' 'python2-unittest-mixins')
-pkgver=1.3
-pkgrel=1
-pkgdesc='Helpful mixins for unittest classes'
-arch=('any')
-license=('Apache')
-url='http://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=('8cdc7adf387d3576d1690c2ab62eff93c085a36b82b756d237cc177aa52718e7ce6c5ec103841f1581cd28576bb17fbbe034c21d1c1347da643dfde3b8033d3a')
-
-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 265842, python-unittest-mixins/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-09 09:18:44 UTC (rev 265843)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-unittest-mixins
+pkgname=('python-unittest-mixins' 'python2-unittest-mixins')
+pkgver=1.4
+pkgrel=1
+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=('c6f23c8013f1f19de46c22f73e52d7b88c8646ac4a5b28423bb9c4835b87706cd7f5cef53627a7118cdaa6f58689c5511d7ae8710eb8f4d2a3ceef3f911c1521')
+
+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:


More information about the arch-commits mailing list