[arch-commits] Commit in python-cucumber-tag-expressions/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Dec 15 20:37:05 UTC 2020


    Date: Tuesday, December 15, 2020 @ 20:37:04
  Author: felixonmars
Revision: 776183

archrelease: copy trunk to community-any

Added:
  python-cucumber-tag-expressions/repos/community-any/
  python-cucumber-tag-expressions/repos/community-any/PKGBUILD
    (from rev 776182, python-cucumber-tag-expressions/trunk/PKGBUILD)

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

Copied: python-cucumber-tag-expressions/repos/community-any/PKGBUILD (from rev 776182, python-cucumber-tag-expressions/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-12-15 20:37:04 UTC (rev 776183)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-cucumber-tag-expressions
+pkgver=3.0.0
+pkgrel=1
+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=('a24ed1b1ae6900a87a3e1660d321d92967b599b34cad9634cd5831ca3327187c9a28cfdc6be4547db436c244af8a39c89ef68739774148451b55f9837a2e8c52')
+
+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