[arch-commits] Commit in python-testfixtures/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Apr 11 19:47:17 UTC 2019
Date: Thursday, April 11, 2019 @ 19:47:15
Author: felixonmars
Revision: 451158
archrelease: copy trunk to community-any
Added:
python-testfixtures/repos/community-any/PKGBUILD
(from rev 451157, python-testfixtures/trunk/PKGBUILD)
Deleted:
python-testfixtures/repos/community-any/PKGBUILD
----------+
PKGBUILD | 106 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-04-11 19:46:58 UTC (rev 451157)
+++ PKGBUILD 2019-04-11 19:47:15 UTC (rev 451158)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-testfixtures
-pkgname=('python-testfixtures' 'python2-testfixtures')
-pkgver=6.6.2
-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=('11faf4d03c0df1faeabd54ce16c8859095cd0e06cef67296d9ddac8bf32a735b924f1b67d472c8561732fdf69b60472c56c22ca7d7ce8abe6b9b3bd9892f0049')
-
-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 451157, python-testfixtures/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-04-11 19:47:15 UTC (rev 451158)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-testfixtures
+pkgname=('python-testfixtures' 'python2-testfixtures')
+pkgver=6.7.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=('4746ed7bb5554522371fb060c6e1a46cf3c1c2924b0dd326c982ddd9d29d44ea4f5dc5fcdcf11aa6fd987463ca03ca32df5ec9de64cfdd6bde5a02dae80e4883')
+
+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