[arch-commits] Commit in python-greenlet/repos (4 files)

Felix Yan fyan at archlinux.org
Sat Sep 19 15:18:38 UTC 2015


    Date: Saturday, September 19, 2015 @ 17:18:38
  Author: fyan
Revision: 140900

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  python-greenlet/repos/community-staging-i686/
  python-greenlet/repos/community-staging-i686/PKGBUILD
    (from rev 140899, python-greenlet/trunk/PKGBUILD)
  python-greenlet/repos/community-staging-x86_64/
  python-greenlet/repos/community-staging-x86_64/PKGBUILD
    (from rev 140899, python-greenlet/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   53 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   53 ++++++++++++++++++++++++++++++++++++
 2 files changed, 106 insertions(+)

Copied: python-greenlet/repos/community-staging-i686/PKGBUILD (from rev 140899, python-greenlet/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-09-19 15:18:38 UTC (rev 140900)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ralf Schmitt <ralf at systemexit.de>
+
+pkgbase=python-greenlet
+pkgname=(python-greenlet python2-greenlet)
+pkgver=0.4.9
+pkgrel=2
+pkgdesc="Lightweight in-process concurrent programming"
+license=("MIT")
+url="http://pypi.python.org/pypi/greenlet"
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://pypi.python.org/packages/source/g/greenlet/greenlet-${pkgver}.zip")
+arch=('i686' 'x86_64')
+
+prepare() {
+    cp -a greenlet-$pkgver greenlet-$pkgver-py2
+}
+
+build() {
+	cd greenlet-$pkgver
+	python setup.py build
+
+    cd ../greenlet-$pkgver-py2
+    python2 setup.py build
+}
+
+check() {
+    cd greenlet-$pkgver
+    python setup.py test
+
+    cd ../greenlet-$pkgver-py2
+    python2 setup.py test
+}
+
+package_python-greenlet() {
+    depends=('python')
+
+    cd greenlet-$pkgver
+    python setup.py install -O1 --root="$pkgdir"
+    install -Dm0644 LICENSE.PSF "$pkgdir/usr/share/licenses/$pkgname/LICENSE.PSF"
+}
+
+package_python2-greenlet() {
+    depends=('python2')
+
+	cd greenlet-$pkgver-py2
+	python2 setup.py install -O1 --root="$pkgdir"
+	install -Dm0644 LICENSE.PSF "$pkgdir/usr/share/licenses/$pkgname/LICENSE.PSF"
+}
+
+sha512sums=('2dce966827caf32b21cf005498ef6e595524ffb0aabbe424c705850986edfda4f4b2ba791180a7de900b1778594851de83a5b2cc69baf31c968ee8fb9131ba58')

Copied: python-greenlet/repos/community-staging-x86_64/PKGBUILD (from rev 140899, python-greenlet/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-09-19 15:18:38 UTC (rev 140900)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ralf Schmitt <ralf at systemexit.de>
+
+pkgbase=python-greenlet
+pkgname=(python-greenlet python2-greenlet)
+pkgver=0.4.9
+pkgrel=2
+pkgdesc="Lightweight in-process concurrent programming"
+license=("MIT")
+url="http://pypi.python.org/pypi/greenlet"
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://pypi.python.org/packages/source/g/greenlet/greenlet-${pkgver}.zip")
+arch=('i686' 'x86_64')
+
+prepare() {
+    cp -a greenlet-$pkgver greenlet-$pkgver-py2
+}
+
+build() {
+	cd greenlet-$pkgver
+	python setup.py build
+
+    cd ../greenlet-$pkgver-py2
+    python2 setup.py build
+}
+
+check() {
+    cd greenlet-$pkgver
+    python setup.py test
+
+    cd ../greenlet-$pkgver-py2
+    python2 setup.py test
+}
+
+package_python-greenlet() {
+    depends=('python')
+
+    cd greenlet-$pkgver
+    python setup.py install -O1 --root="$pkgdir"
+    install -Dm0644 LICENSE.PSF "$pkgdir/usr/share/licenses/$pkgname/LICENSE.PSF"
+}
+
+package_python2-greenlet() {
+    depends=('python2')
+
+	cd greenlet-$pkgver-py2
+	python2 setup.py install -O1 --root="$pkgdir"
+	install -Dm0644 LICENSE.PSF "$pkgdir/usr/share/licenses/$pkgname/LICENSE.PSF"
+}
+
+sha512sums=('2dce966827caf32b21cf005498ef6e595524ffb0aabbe424c705850986edfda4f4b2ba791180a7de900b1778594851de83a5b2cc69baf31c968ee8fb9131ba58')



More information about the arch-commits mailing list