[arch-commits] Commit in python-pyfakefs/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Nov 10 04:13:10 UTC 2020
Date: Tuesday, November 10, 2020 @ 04:13:10
Author: felixonmars
Revision: 748566
archrelease: copy trunk to community-staging-any
Added:
python-pyfakefs/repos/community-staging-any/
python-pyfakefs/repos/community-staging-any/PKGBUILD
(from rev 748562, python-pyfakefs/trunk/PKGBUILD)
----------+
PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
Copied: python-pyfakefs/repos/community-staging-any/PKGBUILD (from rev 748562, python-pyfakefs/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-10 04:13:10 UTC (rev 748566)
@@ -0,0 +1,46 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-pyfakefs
+pkgver=4.2.1
+pkgrel=2
+pkgdesc='pyfakefs implements a fake file system that mocks the Python file system modules'
+url=https://github.com/jmcgeheeiv/pyfakefs/
+license=(APACHE)
+arch=(any)
+depends=(python-pytest)
+makedepends=(
+ git
+ python-setuptools
+)
+checkdepends=(
+ python-tox
+)
+_tag=59769a8b3cacd51f2386d37ccf9b3f6cf49b7b67
+source=(git+https://github.com/jmcgeheeiv/pyfakefs.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+ cd pyfakefs
+
+ git describe --tags | sed 's/^v//'
+}
+
+build() {
+ cd pyfakefs
+
+ python setup.py build
+}
+
+check() {
+ cd pyfakefs
+
+ tox -e py39
+}
+
+package() {
+ cd pyfakefs
+
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list