[arch-commits] Commit in python-doublex/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 9 16:49:41 UTC 2020
Date: Monday, November 9, 2020 @ 16:49:41
Author: foutrelis
Revision: 747573
archrelease: copy trunk to community-staging-any
Added:
python-doublex/repos/community-staging-any/
python-doublex/repos/community-staging-any/PKGBUILD
(from rev 747572, python-doublex/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: python-doublex/repos/community-staging-any/PKGBUILD (from rev 747572, python-doublex/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 16:49:41 UTC (rev 747573)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-doublex
+pkgver=1.9.2
+pkgrel=4
+pkgdesc="Powerful test doubles framework for Python"
+arch=('any')
+license=('GPL')
+url="https://github.com/davidvilla/python-doublex"
+depends=('python-pyhamcrest')
+makedepends=('python-setuptools')
+checkdepends=('python-nose')
+source=("$pkgname-$pkgver.tar.bz2::https://bitbucket.org/DavidVilla/python-doublex/get/v$pkgver.tar.bz2")
+sha512sums=('0cbcedeb46bd0dce807360bab5f8ac8d0a3e0eb8b5bdd7381499a1da236fbbfd21f0a53ece6eb24c387c9d96c9735ee56693ce95d445ef4f59873140388bc6a7')
+
+prepare() {
+ mv DavidVilla-python-doublex-* python-doublex-$pkgver
+}
+
+build() {
+ cd "$srcdir"/python-doublex-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir"/python-doublex-$pkgver
+ python setup.py test
+}
+
+package() {
+ cd python-doublex-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ rm "$pkgdir"/usr/README.rst
+}
More information about the arch-commits
mailing list