[arch-commits] Commit in python-rfc3986/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Apr 23 23:03:17 UTC 2020
Date: Thursday, April 23, 2020 @ 23:03:17
Author: felixonmars
Revision: 618419
archrelease: copy trunk to community-testing-any
Added:
python-rfc3986/repos/community-testing-any/
python-rfc3986/repos/community-testing-any/PKGBUILD
(from rev 618418, python-rfc3986/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-rfc3986/repos/community-testing-any/PKGBUILD (from rev 618418, python-rfc3986/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2020-04-23 23:03:17 UTC (rev 618419)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de>
+
+pkgname=python-rfc3986
+pkgver=1.4.0
+pkgrel=1
+pkgdesc="Validating URI References per RFC 3986"
+arch=('any')
+license=('Apache')
+url="https://rfc3986.readthedocs.org/"
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("https://pypi.io/packages/source/r/rfc3986/rfc3986-$pkgver.tar.gz")
+sha512sums=('dbcddc09331b794eafed8c2d7b81b7b632ba5cae2741e33ad12e781bc923427a05febd2f2715d037f35769b18c8d790546dfd4bbebe6e71d35777745e446888b')
+
+build() {
+ cd rfc3986-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd rfc3986-$pkgver
+ python setup.py pytest
+}
+
+package() {
+ cd rfc3986-$pkgver
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
More information about the arch-commits
mailing list