[arch-commits] Commit in python-testfixtures/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Mar 13 15:18:25 UTC 2019
Date: Wednesday, March 13, 2019 @ 15:18:25
Author: felixonmars
Revision: 440891
archrelease: copy trunk to community-any
Added:
python-testfixtures/repos/community-any/PKGBUILD
(from rev 440890, python-testfixtures/trunk/PKGBUILD)
Deleted:
python-testfixtures/repos/community-any/PKGBUILD
----------+
PKGBUILD | 106 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-13 15:17:49 UTC (rev 440890)
+++ PKGBUILD 2019-03-13 15:18:25 UTC (rev 440891)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-testfixtures
-pkgname=('python-testfixtures' 'python2-testfixtures')
-pkgver=6.6.0
-pkgrel=1
-pkgdesc="A collection of helpers and mock objects that are useful when writing unit tests or doc tests"
-arch=('any')
-license=('MIT')
-url="https://github.com/Simplistix/testfixtures"
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-mock' 'python2-mock'
- 'python-zope-component' 'python2-zope-component' 'python-sybil' 'python2-sybil'
- 'python-pytest-django' 'python2-pytest-django' 'python-django' 'python2-django'
- 'python-twisted' 'python2-twisted')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/Simplistix/testfixtures/archive/$pkgver.tar.gz")
-sha512sums=('c24d1b787790e4ab2df0b49a8e4e516896c7f32719a1673f18605837a186c8762b9c03226eaa4680b7de525dea5d56fa8fec2d3287c416e2c5d55730c46e9af6')
-
-prepare() {
- cp -a testfixtures-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/testfixtures-$pkgver
- python setup.py build
-
- cd "$srcdir"/testfixtures-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/testfixtures-$pkgver
- python setup.py pytest --addopts "--ignore=build"
-
- cd "$srcdir"/testfixtures-$pkgver-py2
- python2 setup.py pytest --addopts "--ignore=build"
-}
-
-package_python-testfixtures() {
- depends=('python')
-
- cd testfixtures-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 docs/license.txt "$pkgdir"/usr/share/licenses/$pkgname/license.txt
-}
-
-package_python2-testfixtures() {
- depends=('python2')
-
- cd testfixtures-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 docs/license.txt "$pkgdir"/usr/share/licenses/$pkgname/license.txt
-}
Copied: python-testfixtures/repos/community-any/PKGBUILD (from rev 440890, python-testfixtures/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-03-13 15:18:25 UTC (rev 440891)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-testfixtures
+pkgname=('python-testfixtures' 'python2-testfixtures')
+pkgver=6.6.1
+pkgrel=1
+pkgdesc="A collection of helpers and mock objects that are useful when writing unit tests or doc tests"
+arch=('any')
+license=('MIT')
+url="https://github.com/Simplistix/testfixtures"
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-mock' 'python2-mock'
+ 'python-zope-component' 'python2-zope-component' 'python-sybil' 'python2-sybil'
+ 'python-pytest-django' 'python2-pytest-django' 'python-django' 'python2-django'
+ 'python-twisted' 'python2-twisted')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Simplistix/testfixtures/archive/$pkgver.tar.gz")
+sha512sums=('a4d2c720bbeac266458156613433dfa252f4bf106455a681b2e728aae3e6ec65bc4dbd3c4c723423c114835d3b5e49f009f19d04e33ba1c9aa68a7401675befc')
+
+prepare() {
+ cp -a testfixtures-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/testfixtures-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/testfixtures-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/testfixtures-$pkgver
+ python setup.py pytest --addopts "--ignore=build"
+
+ cd "$srcdir"/testfixtures-$pkgver-py2
+ python2 setup.py pytest --addopts "--ignore=build"
+}
+
+package_python-testfixtures() {
+ depends=('python')
+
+ cd testfixtures-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 docs/license.txt "$pkgdir"/usr/share/licenses/$pkgname/license.txt
+}
+
+package_python2-testfixtures() {
+ depends=('python2')
+
+ cd testfixtures-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 docs/license.txt "$pkgdir"/usr/share/licenses/$pkgname/license.txt
+}
More information about the arch-commits
mailing list