[arch-commits] Commit in python-flex/repos/community-staging-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Sat Dec 4 01:29:27 UTC 2021


    Date: Saturday, December 4, 2021 @ 01:29:26
  Author: felixonmars
Revision: 1064997

archrelease: copy trunk to community-staging-any

Added:
  python-flex/repos/community-staging-any/PKGBUILD
    (from rev 1064996, python-flex/trunk/PKGBUILD)
Deleted:
  python-flex/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   71 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 36 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-04 01:29:18 UTC (rev 1064996)
+++ PKGBUILD	2021-12-04 01:29:26 UTC (rev 1064997)
@@ -1,35 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-flex
-pkgver=6.14.1
-pkgrel=6
-pkgdesc="Swagger schema validator"
-url="https://github.com/pipermerriam/flex"
-license=('BSD')
-arch=('any')
-depends=('python-six' 'python-yaml' 'python-validate-email' 'python-rfc3987' 'python-requests'
-         'python-strict-rfc3339' 'python-click' 'python-jsonpointer')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest-runner' 'python-factory-boy' 'python-responses' 'python-pytest-httpbin')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/pipermerriam/flex/archive/v$pkgver.tar.gz")
-sha512sums=('7164f70db2095041f878e2be95467aefc7c5b0b38b9792bd74127dc0769f24e99dd6d5df48a076bfb819462aa8216fd16313e5ebfa0e881ea3094d38ad409c40')
-
-prepare() {
-  sed -i 's/<2/<3/' flex-$pkgver/setup.py
-}
-
-build() {
-  cd flex-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd flex-$pkgver
-  python setup.py pytest
-}
-
-package() {
-  cd flex-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-flex/repos/community-staging-any/PKGBUILD (from rev 1064996, python-flex/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-04 01:29:26 UTC (rev 1064997)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-flex
+pkgver=6.14.1
+pkgrel=7
+pkgdesc="Swagger schema validator"
+url="https://github.com/pipermerriam/flex"
+license=('BSD')
+arch=('any')
+depends=('python-six' 'python-yaml' 'python-validate-email' 'python-rfc3987' 'python-requests'
+         'python-strict-rfc3339' 'python-click' 'python-jsonpointer')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-factory-boy' 'python-responses' 'python-pytest-httpbin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pipermerriam/flex/archive/v$pkgver.tar.gz")
+sha512sums=('7164f70db2095041f878e2be95467aefc7c5b0b38b9792bd74127dc0769f24e99dd6d5df48a076bfb819462aa8216fd16313e5ebfa0e881ea3094d38ad409c40')
+
+prepare() {
+  sed -i 's/<2/<3/' flex-$pkgver/setup.py
+}
+
+build() {
+  cd flex-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd flex-$pkgver
+  # https://github.com/pipermerriam/flex/issues/234
+  pytest --deselect 'tests/validation/request/test_request_parameter_validation.py::test_request_parameter_array_extraction[tsv-1\t2\t3]'
+}
+
+package() {
+  cd flex-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list