[arch-commits] Commit in python-testfixtures/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jun 7 04:22:47 UTC 2018
Date: Thursday, June 7, 2018 @ 04:22:47
Author: felixonmars
Revision: 341570
archrelease: copy trunk to community-any
Added:
python-testfixtures/repos/community-any/PKGBUILD
(from rev 341569, python-testfixtures/trunk/PKGBUILD)
Deleted:
python-testfixtures/repos/community-any/PKGBUILD
----------+
PKGBUILD | 106 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-07 04:22:20 UTC (rev 341569)
+++ PKGBUILD 2018-06-07 04:22:47 UTC (rev 341570)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-testfixtures
-pkgname=('python-testfixtures' 'python2-testfixtures')
-pkgver=6.0.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')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/Simplistix/testfixtures/archive/$pkgver.tar.gz")
-sha512sums=('446b3dce2b6e5407aef4a0f72d2516833108e3c8fb50a3e219ba9bdfc44f54fedd0bd329df7010b9663a96aa981bf4181eed786167adb180112d219cbd99ecf2')
-
-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 341569, python-testfixtures/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-06-07 04:22:47 UTC (rev 341570)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-testfixtures
+pkgname=('python-testfixtures' 'python2-testfixtures')
+pkgver=6.1.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')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Simplistix/testfixtures/archive/$pkgver.tar.gz")
+sha512sums=('446fa539f7365de09b7f5b2f21a3d41207a65d315377550591cf6fb729a6253ee1a4a4d5a71f41b445b2e18b48d6e3a76b2b3dea77463c23c832741e36ec2b96')
+
+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