[arch-commits] Commit in (4 files)
Chih-Hsuan Yen
yan12125 at archlinux.org
Fri Jul 9 12:42:27 UTC 2021
Date: Friday, July 9, 2021 @ 12:42:27
Author: yan12125
Revision: 976202
python-pytest-env: imported from AUR
Used by a few packages I maintain. Just for convenience - I can of course copy environment variables from pytest.ini to PKGBUILD :D
Added:
python-pytest-env/
python-pytest-env/repos/
python-pytest-env/trunk/
python-pytest-env/trunk/PKGBUILD
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Added: python-pytest-env/trunk/PKGBUILD
===================================================================
--- python-pytest-env/trunk/PKGBUILD (rev 0)
+++ python-pytest-env/trunk/PKGBUILD 2021-07-09 12:42:27 UTC (rev 976202)
@@ -0,0 +1,28 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+# Contributor: Rafael Fontenelle <rafaelff at gnome.org>
+
+pkgname=python-pytest-env
+pkgver=0.6.2
+_commit=afb13a0e908f649b69273f299262ac12f1b71113
+pkgrel=2
+pkgdesc='pytest plugin used to set environment variables'
+arch=(any)
+url='https://github.com/MobileDynasty/pytest-env'
+license=(MIT)
+depends=(python-pytest)
+makedepends=(python-setuptools)
+# Upstream does not use git tags, and the tarball on PyPI does not include the LICENSE file
+# https://github.com/MobileDynasty/pytest-env/issues/6
+source=($pkgname-$pkgver.tar.gz::https://github.com/MobileDynasty/pytest-env/archive/$_commit/$pkgname-$_commit.tar.gz)
+sha256sums=('653b29ab430dc99ee442776415ebf4e82e225b203d993108f0bf4845f8dbeaa8')
+
+build() {
+ cd pytest-env-$_commit
+ python setup.py build
+}
+
+package() {
+ cd pytest-env-$_commit
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}
More information about the arch-commits
mailing list