[arch-commits] Commit in python-rfc6555/trunk (PKGBUILD)
Jelle van der Waa
jelle at gemini.archlinux.org
Sat Nov 13 14:22:47 UTC 2021
Date: Saturday, November 13, 2021 @ 14:22:47
Author: jelle
Revision: 1045394
Drop python2-rfc6555
Modified:
python-rfc6555/trunk/PKGBUILD
----------+
PKGBUILD | 28 +++++++---------------------
1 file changed, 7 insertions(+), 21 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-13 14:22:24 UTC (rev 1045393)
+++ PKGBUILD 2021-11-13 14:22:47 UTC (rev 1045394)
@@ -1,21 +1,18 @@
# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
-pkgbase=python-rfc6555
-pkgname=('python2-rfc6555' 'python-rfc6555')
+pkgname=python-rfc6555
pkgver=0.0.0
-pkgrel=3
+pkgrel=4
arch=('any')
url="https://pypi.org/project/rfc6555/"
license=('Apache')
-makedepends=('python2-setuptools' 'python-setuptools')
-checkdepends=('python2-tox' 'python-tox')
+pkgdesc="Python implementation of the Happy Eyeballs Algorithm described in RFC 6555."
+depends=('python' 'python-selectors2')
+makedepends=('python-setuptools')
+checkdepends=('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}"
@@ -25,18 +22,7 @@
# 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')
-
+package() {
cd "${srcdir}/rfc6555-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1
}
More information about the arch-commits
mailing list