[arch-commits] Commit in python-rfc3986/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 9 15:41:59 UTC 2020
Date: Monday, November 9, 2020 @ 15:41:59
Author: felixonmars
Revision: 747096
archrelease: copy trunk to community-staging-any
Added:
python-rfc3986/repos/community-staging-any/
python-rfc3986/repos/community-staging-any/PKGBUILD
(from rev 747095, python-rfc3986/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-rfc3986/repos/community-staging-any/PKGBUILD (from rev 747095, python-rfc3986/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 15:41:59 UTC (rev 747096)
@@ -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=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-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