Date: Thursday, April 6, 2023 @ 13:30:23
  Author: felixonmars
Revision: 1438899

archrelease: copy trunk to community-staging-any

Added:
  python-rfc3986/repos/community-staging-any/
  python-rfc3986/repos/community-staging-any/PKGBUILD
    (from rev 1438898, python-rfc3986/trunk/PKGBUILD)

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

Copied: python-rfc3986/repos/community-staging-any/PKGBUILD (from rev 1438898, 
python-rfc3986/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-06 13:30:23 UTC (rev 1438899)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de>
+
+pkgname=python-rfc3986
+pkgver=2.0.0
+pkgrel=2
+pkgdesc="Validating URI References per RFC 3986"
+arch=('any')
+license=('Apache')
+url="https://rfc3986.readthedocs.org/";
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://pypi.io/packages/source/r/rfc3986/rfc3986-$pkgver.tar.gz";)
+sha512sums=('5c8370cb1e21811eaab91269b9a30972b8fbcbe1fa1d806fd3ceabe0e1937de856d757146137fee470fbdbcc7e948b236f72a42306da41a6d03807e7333983df')
+
+build() {
+  cd rfc3986-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd rfc3986-$pkgver
+  PYTHONPATH="$PWD/build/lib" pytest
+}
+
+package() {
+  cd rfc3986-$pkgver
+  python setup.py install --root="$pkgdir/" --optimize=1
+}

Reply via email to