[arch-commits] Commit in python-cucumber-tag-expressions/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Nov 30 20:23:04 UTC 2021
Date: Tuesday, November 30, 2021 @ 20:23:03
Author: felixonmars
Revision: 1058155
archrelease: copy trunk to community-staging-any
Added:
python-cucumber-tag-expressions/repos/community-staging-any/
python-cucumber-tag-expressions/repos/community-staging-any/PKGBUILD
(from rev 1058151, python-cucumber-tag-expressions/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-cucumber-tag-expressions/repos/community-staging-any/PKGBUILD (from rev 1058151, python-cucumber-tag-expressions/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-11-30 20:23:03 UTC (rev 1058155)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-cucumber-tag-expressions
+pkgver=3.0.1
+pkgrel=2
+pkgdesc="Provides tag-expression parser for cucumber/behave"
+url="https://github.com/cucumber/tag-expressions-python"
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-pytest-html')
+source=("https://github.com/cucumber/tag-expressions-python/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('444c04d219998899e7ea30f3a3141c9f6d711c7ab727eca107bdcfa0b3b8fe66c99cfa07c695638efcbf5279d75a12434101a85f2c778f6802a74a972b274c85')
+
+build() {
+ cd tag-expressions-python-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd tag-expressions-python-$pkgver
+ python -m pytest
+}
+
+package() {
+ cd tag-expressions-python-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
More information about the arch-commits
mailing list