[arch-commits] Commit in python-rfc6555/repos (2 files)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Mon Sep 23 19:23:36 UTC 2019
Date: Monday, September 23, 2019 @ 19:23:35
Author: jlichtblau
Revision: 511599
archrelease: copy trunk to community-staging-any
Added:
python-rfc6555/repos/community-staging-any/
python-rfc6555/repos/community-staging-any/PKGBUILD
(from rev 511598, python-rfc6555/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: python-rfc6555/repos/community-staging-any/PKGBUILD (from rev 511598, python-rfc6555/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-09-23 19:23:35 UTC (rev 511599)
@@ -0,0 +1,42 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+
+pkgbase=python-rfc6555
+pkgname=('python2-rfc6555' 'python-rfc6555')
+pkgver=0.0.0
+pkgrel=1
+arch=('any')
+url="https://pypi.org/project/rfc6555/"
+license=('Apache')
+makedepends=('python2-setuptools' 'python-setuptools')
+checkdepends=('python2-tox' 'python-tox')
+source=(https://files.pythonhosted.org/packages/58/a8/1dfba2db1f744657065562386069e547eefea9432d3f520d4af5b5fabd28/rfc6555-$pkgver.tar.gz)
+sha256sums=('191cbba0315b53654155321e56a93466f42cd0a474b4f341df4d03264dcb5217')
+
+prepare() {
+ cp -rf "rfc6555-${pkgver}" "rfc6555-${pkgver}-2"
+}
+
+# failing for now
+# check() {
+# cd "${srcdir}/rfc6555-${pkgver}"
+# tox3
+#
+# cd "${srcdir}/rfc6555-${pkgver}-2"
+# tox2
+# }
+
+package_python2-rfc6555() {
+ pkgdesc="Python implementation of the Happy Eyeballs Algorithm described in RFC 6555."
+ depends=('python2' 'python2-selectors2')
+
+ cd "${srcdir}/rfc6555-${pkgver}-2"
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+}
+
+package_python-rfc6555() {
+ pkgdesc="Python implementation of the Happy Eyeballs Algorithm described in RFC 6555."
+ depends=('python' 'python-selectors2')
+
+ cd "${srcdir}/rfc6555-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1
+}
More information about the arch-commits
mailing list