[arch-commits] Commit in python-selectors2/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Fri Oct 25 15:42:49 UTC 2019
Date: Friday, October 25, 2019 @ 15:42:49
Author: foutrelis
Revision: 519169
archrelease: copy trunk to community-staging-any
Added:
python-selectors2/repos/community-staging-any/
python-selectors2/repos/community-staging-any/PKGBUILD
(from rev 519168, python-selectors2/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-selectors2/repos/community-staging-any/PKGBUILD (from rev 519168, python-selectors2/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 15:42:49 UTC (rev 519169)
@@ -0,0 +1,29 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Anthony25 <Anthony Ruhier>
+
+pkgbase=python-selectors2
+pkgname=('python2-selectors2' 'python-selectors2')
+pkgver=2.0.1
+pkgrel=3
+arch=('any')
+url='https://github.com/SethMichaelLarson/selectors2'
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=($pkgbase-$pkver.tar.gz::https://github.com/SethMichaelLarson/selectors2/archive/$pkgver.tar.gz)
+sha256sums=('482ee6168dad08fc46db82d99bc28be4b4256512809d39191d232c412d6293b4')
+
+package_python-selectors2() {
+ pkgdesc='Backported, durable, and portable selectors.'
+ 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