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

Jaroslav Lichtblau jlichtblau at archlinux.org
Mon Sep 23 19:10:30 UTC 2019


    Date: Monday, September 23, 2019 @ 19:10:30
  Author: jlichtblau
Revision: 511597

archrelease: copy trunk to community-staging-any

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

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

Copied: python-selectors2/repos/community-staging-any/PKGBUILD (from rev 511596, python-selectors2/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-09-23 19:10:30 UTC (rev 511597)
@@ -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=2
+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