[arch-commits] Commit in (4 files)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Mon Sep 23 19:22:49 UTC 2019
Date: Monday, September 23, 2019 @ 19:22:49
Author: jlichtblau
Revision: 511598
Initial upload - new build dependency for latest offlineimap
Added:
python-rfc6555/
python-rfc6555/repos/
python-rfc6555/trunk/
python-rfc6555/trunk/PKGBUILD
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Added: python-rfc6555/trunk/PKGBUILD
===================================================================
--- python-rfc6555/trunk/PKGBUILD (rev 0)
+++ python-rfc6555/trunk/PKGBUILD 2019-09-23 19:22:49 UTC (rev 511598)
@@ -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