Date: Sunday, April 30, 2023 @ 11:49:53
Author: jelle
Revision: 1455256
archrelease: copy trunk to community-testing-any
Added:
python-pyfakefs/repos/community-testing-any/PKGBUILD
(from rev 1455255, python-pyfakefs/trunk/PKGBUILD)
Deleted:
python-pyfakefs/repos/community-testing-any/PKGBUILD
----------+
PKGBUILD | 99 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 52 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-30 11:49:44 UTC (rev 1455255)
+++ PKGBUILD 2023-04-30 11:49:53 UTC (rev 1455256)
@@ -1,47 +0,0 @@
-# Maintainer: Maxime Gauduin <[email protected]>
-
-pkgname=python-pyfakefs
-pkgver=5.1.0
-pkgrel=1
-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=13d0e542cf76c253c0b7973f932787b14379e990
-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
-
- local python_version=$(python -c 'import sys; print("".join(map(str,
sys.version_info[:2])))')
- tox -e "py${python_version}"
-}
-
-package() {
- cd pyfakefs
-
- python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-}
-
-# vim: ts=2 sw=2 et:
Copied: python-pyfakefs/repos/community-testing-any/PKGBUILD (from rev 1455255,
python-pyfakefs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-30 11:49:53 UTC (rev 1455256)
@@ -0,0 +1,52 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+
+pkgname=python-pyfakefs
+pkgver=5.1.0
+pkgrel=4
+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=13d0e542cf76c253c0b7973f932787b14379e990
+source=(git+https://github.com/jmcgeheeiv/pyfakefs.git#tag=${_tag})
+sha256sums=('SKIP')
+
+pkgver() {
+ cd pyfakefs
+
+ git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+ cd pyfakefs
+ sed -i 's/passenv = HOME USERPROFILE/passenv = HOME,USERPROFILE/' tox.ini
+}
+
+build() {
+ cd pyfakefs
+
+ python setup.py build
+}
+
+check() {
+ cd pyfakefs
+
+ local python_version=$(python -c 'import sys; print("".join(map(str,
sys.version_info[:2])))')
+ tox -e "py${python_version}"
+}
+
+package() {
+ cd pyfakefs
+
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}
+
+# vim: ts=2 sw=2 et: