[arch-commits] Commit in python-rfc3986/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 20:23:43 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:23:43
  Author: felixonmars
Revision: 1058188

archrelease: copy trunk to community-staging-any

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

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

Copied: python-rfc3986/repos/community-staging-any/PKGBUILD (from rev 1058187, python-rfc3986/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 20:23:43 UTC (rev 1058188)
@@ -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.5.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=('b291b88b6890f8c9fcfc353e05d1b8c0435be62f22768568ecf714af083b3c51d7a9b301fc9196d37ad4e6eeb8c6a237ba40914098e755b4ccdf36b7df7906c2')
+
+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