[arch-commits] Commit in python-tox-current-env/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Wed Dec 1 14:58:22 UTC 2021
Date: Wednesday, December 1, 2021 @ 14:58:21
Author: felixonmars
Revision: 1059626
archrelease: copy trunk to community-staging-any
Added:
python-tox-current-env/repos/community-staging-any/
python-tox-current-env/repos/community-staging-any/PKGBUILD
(from rev 1059622, python-tox-current-env/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-tox-current-env/repos/community-staging-any/PKGBUILD (from rev 1059622, python-tox-current-env/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-12-01 14:58:21 UTC (rev 1059626)
@@ -0,0 +1,30 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=tox-current-env
+pkgname=python-$_pkgname
+pkgver=0.0.6
+pkgrel=2
+pkgdesc='tox plugin to run tests in current Python environment'
+arch=('any')
+url='https://github.com/fedora-python/tox-current-env'
+license=('MIT')
+depends=('python' 'python-tox')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('9e68b18dffa2ea7cb387f2b51d3116d396ac92f6b53b16ac7b80e8ff90bb92e482e6b00b2a1abb18332aeb9dbf8e060fc4f2e1edab8f9232a571544f7036a919')
+
+build() {
+ cd $_pkgname-$pkgver
+
+ python setup.py build
+}
+
+package() {
+ cd $_pkgname-$pkgver
+
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+ install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list