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

Chih-Hsuan Yen yan12125 at archlinux.org
Fri Jul 9 12:43:57 UTC 2021


    Date: Friday, July 9, 2021 @ 12:43:57
  Author: yan12125
Revision: 976203

archrelease: copy trunk to community-any

Added:
  python-pytest-env/repos/community-any/
  python-pytest-env/repos/community-any/PKGBUILD
    (from rev 976202, python-pytest-env/trunk/PKGBUILD)

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

Copied: python-pytest-env/repos/community-any/PKGBUILD (from rev 976202, python-pytest-env/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2021-07-09 12:43:57 UTC (rev 976203)
@@ -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