[arch-commits] Commit in python-pydispatcher/repos/community-staging-any (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Oct 31 17:15:46 UTC 2019
Date: Thursday, October 31, 2019 @ 17:15:46
Author: felixonmars
Revision: 521305
archrelease: copy trunk to community-staging-any
Added:
python-pydispatcher/repos/community-staging-any/PKGBUILD
(from rev 521304, python-pydispatcher/trunk/PKGBUILD)
Deleted:
python-pydispatcher/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 102 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 51 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 17:15:36 UTC (rev 521304)
+++ PKGBUILD 2019-10-31 17:15:46 UTC (rev 521305)
@@ -1,51 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Thomas Sarboni <max-k at post.com>
-
-pkgbase=python-pydispatcher
-pkgname=('python-pydispatcher' 'python2-pydispatcher')
-pkgver=2.0.5
-pkgrel=4
-pkgdesc="Multi-producer-multi-consumer signal dispatching mechanism"
-url="http://sourceforge.net/projects/${pkgbase}/"
-arch=('any')
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("https://pypi.io/packages/source/P/PyDispatcher/PyDispatcher-$pkgver.tar.gz")
-md5sums=('1b9c2ca33580c2770577add7130b0b28')
-
-prepare() {
- cp -a PyDispatcher-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/PyDispatcher-$pkgver
- python setup.py build
-
- cd "$srcdir"/PyDispatcher-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/PyDispatcher-$pkgver
- python setup.py pytest
-
- cd "$srcdir"/PyDispatcher-$pkgver-py2
- python2 setup.py pytest
-}
-
-package_python-pydispatcher() {
- depends=('python')
-
- cd PyDispatcher-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 license.txt "$pkgdir"/usr/share/licenses/$pkgname/license.txt
-}
-
-package_python2-pydispatcher() {
- depends=('python2')
-
- cd PyDispatcher-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 license.txt "$pkgdir"/usr/share/licenses/$pkgname/license.txt
-}
Copied: python-pydispatcher/repos/community-staging-any/PKGBUILD (from rev 521304, python-pydispatcher/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 17:15:46 UTC (rev 521305)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Thomas Sarboni <max-k at post.com>
+
+pkgbase=python-pydispatcher
+pkgname=('python-pydispatcher' 'python2-pydispatcher')
+pkgver=2.0.5
+pkgrel=5
+pkgdesc="Multi-producer-multi-consumer signal dispatching mechanism"
+url="http://sourceforge.net/projects/${pkgbase}/"
+arch=('any')
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("https://pypi.io/packages/source/P/PyDispatcher/PyDispatcher-$pkgver.tar.gz")
+md5sums=('1b9c2ca33580c2770577add7130b0b28')
+
+prepare() {
+ cp -a PyDispatcher-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/PyDispatcher-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/PyDispatcher-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/PyDispatcher-$pkgver
+ python setup.py pytest
+
+ cd "$srcdir"/PyDispatcher-$pkgver-py2
+ python2 setup.py pytest
+}
+
+package_python-pydispatcher() {
+ depends=('python')
+
+ cd PyDispatcher-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 license.txt "$pkgdir"/usr/share/licenses/$pkgname/license.txt
+}
+
+package_python2-pydispatcher() {
+ depends=('python2')
+
+ cd PyDispatcher-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 license.txt "$pkgdir"/usr/share/licenses/$pkgname/license.txt
+}
More information about the arch-commits
mailing list