[arch-commits] Commit in python-pyfakefs/repos (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Sun Mar 6 15:34:08 UTC 2022


    Date: Sunday, March 6, 2022 @ 15:34:07
  Author: foutrelis
Revision: 1142406

archrelease: copy trunk to community-staging-any

Added:
  python-pyfakefs/repos/community-staging-any/
  python-pyfakefs/repos/community-staging-any/PKGBUILD
    (from rev 1142405, python-pyfakefs/trunk/PKGBUILD)

----------+
 PKGBUILD |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

Copied: python-pyfakefs/repos/community-staging-any/PKGBUILD (from rev 1142405, python-pyfakefs/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2022-03-06 15:34:07 UTC (rev 1142406)
@@ -0,0 +1,46 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-pyfakefs
+pkgver=4.5.4
+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=411ec03b74129f2af55839a7ee1600df2b24389b
+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 py310
+}
+
+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