Date: Monday, September 23, 2019 @ 19:09:38
  Author: jlichtblau
Revision: 511596

Initial package upload from AUR
as a new build dependency for offlineimap

Added:
  python-selectors2/
  python-selectors2/repos/
  python-selectors2/trunk/
  python-selectors2/trunk/PKGBUILD

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

Added: python-selectors2/trunk/PKGBUILD
===================================================================
--- python-selectors2/trunk/PKGBUILD                            (rev 0)
+++ python-selectors2/trunk/PKGBUILD    2019-09-23 19:09:38 UTC (rev 511596)
@@ -0,0 +1,29 @@
+# Maintainer: Jaroslav Lichtblau <svetlemo...@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
+}

Reply via email to