[arch-commits] Commit in python-unittest-mixins/repos/community-any (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Aug 30 16:51:10 UTC 2018
Date: Thursday, August 30, 2018 @ 16:51:09
Author: felixonmars
Revision: 375562
archrelease: copy trunk to community-any
Added:
python-unittest-mixins/repos/community-any/PKGBUILD
(from rev 375561, 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 2018-08-30 16:50:55 UTC (rev 375561)
+++ PKGBUILD 2018-08-30 16:51:09 UTC (rev 375562)
@@ -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.4
-pkgrel=2
-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:
Copied: python-unittest-mixins/repos/community-any/PKGBUILD (from rev 375561, python-unittest-mixins/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-30 16:51:09 UTC (rev 375562)
@@ -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.6
+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=('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:
More information about the arch-commits
mailing list