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

Felix Yan felixonmars at archlinux.org
Mon Nov 4 06:12:47 UTC 2019


    Date: Monday, November 4, 2019 @ 06:12:46
  Author: felixonmars
Revision: 523328

archrelease: copy trunk to community-staging-any

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

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

Copied: python-rfc6555/repos/community-staging-any/PKGBUILD (from rev 523325, python-rfc6555/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 06:12:46 UTC (rev 523328)
@@ -0,0 +1,42 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+
+pkgbase=python-rfc6555
+pkgname=('python2-rfc6555' 'python-rfc6555')
+pkgver=0.0.0
+pkgrel=2
+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