[arch-commits] Commit in python-selectors2/trunk (PKGBUILD)
Jelle van der Waa
jelle at gemini.archlinux.org
Sat Nov 13 14:25:07 UTC 2021
Date: Saturday, November 13, 2021 @ 14:25:07
Author: jelle
Revision: 1045398
upgpkg: python-selectors2 2.0.2-2
Modified:
python-selectors2/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++--------------
1 file changed, 5 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-13 14:24:16 UTC (rev 1045397)
+++ PKGBUILD 2021-11-13 14:25:07 UTC (rev 1045398)
@@ -1,29 +1,20 @@
# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
# Contributor: Anthony25 <Anthony Ruhier>
-pkgbase=python-selectors2
-pkgname=('python2-selectors2' 'python-selectors2')
+pkgname=python-selectors2
pkgver=2.0.2
-pkgrel=1
+pkgrel=2
arch=('any')
+pkgdesc='Backported, durable, and portable selectors.'
url='https://github.com/SethMichaelLarson/selectors2'
license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools')
+makedepends=('python-setuptools')
source=($pkgbase-$pkgver.tar.gz::https://github.com/SethMichaelLarson/selectors2/archive/$pkgver.tar.gz)
sha256sums=('43e80168bec134ada813d4126b8eac071450bad8ec1bbdd91ec6481050dbc87e')
-package_python-selectors2() {
- pkgdesc='Backported, durable, and portable selectors.'
+package() {
cd "${srcdir}"/selectors2-$pkgver
python setup.py install --root="${pkgdir}" --optimize=1
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
}
-
-package_python2-selectors2() {
- pkgdesc='Backported, durable, and portable selectors.'
- cd "${srcdir}"/selectors2-$pkgver
-
- python2 setup.py install --root="${pkgdir}" --optimize=1
- install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
-}
More information about the arch-commits
mailing list