[arch-commits] Commit in python-pypubsub/repos/community-any (PKGBUILD PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Fri Aug 17 19:57:30 UTC 2018
Date: Friday, August 17, 2018 @ 19:57:29
Author: ffy00
Revision: 372556
archrelease: copy trunk to community-any
Added:
python-pypubsub/repos/community-any/PKGBUILD
(from rev 372555, python-pypubsub/trunk/PKGBUILD)
Deleted:
python-pypubsub/repos/community-any/PKGBUILD
----------+
PKGBUILD | 71 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 37 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-17 19:56:02 UTC (rev 372555)
+++ PKGBUILD 2018-08-17 19:57:29 UTC (rev 372556)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-pkgname=python-pypubsub
-_pkgname=${pkgname#python-}
-pkgver=4.0.0
-pkgrel=1
-pkgdesc="Python publish-subcribe library"
-arch=('any')
-url="https://github.com/schollii/pypubsub"
-license=('BSD')
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest-runner' 'python-pytest-asyncio')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('d5759d0b359dac66819251be61c58958fcfc9948e68faedb5f7f2e5a5919bcbbabf5556867c881c3db5f9069b6d6b9b6827e6331dd5f900c329e1e80d1f0044d')
-
-build() {
- cd $_pkgname-$pkgver
-
- python setup.py build
-}
-
-check() {
- cd $_pkgname-$pkgver/tests/suite
-
- PYTHONPATH=$PWD/../../src python -m pytest
-}
-
-package() {
- cd $_pkgname-$pkgver
-
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
Copied: python-pypubsub/repos/community-any/PKGBUILD (from rev 372555, python-pypubsub/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-17 19:57:29 UTC (rev 372556)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Contributor: Eli Schwartz <eschwartz at archlinux.org>
+
+pkgname=python-pypubsub
+_pkgname=${pkgname#python-}
+pkgver=4.0.0
+pkgrel=1
+pkgdesc="Python publish-subcribe library"
+arch=('any')
+url="https://github.com/schollii/pypubsub"
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-pytest-asyncio')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('d5759d0b359dac66819251be61c58958fcfc9948e68faedb5f7f2e5a5919bcbbabf5556867c881c3db5f9069b6d6b9b6827e6331dd5f900c329e1e80d1f0044d')
+
+build() {
+ cd $_pkgname-$pkgver
+
+ python setup.py build
+}
+
+check() {
+ cd $_pkgname-$pkgver/tests/suite
+
+ PYTHONPATH=$PWD/../../src python -m pytest
+}
+
+package() {
+ cd $_pkgname-$pkgver
+
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+ install -Dm 644 src/pubsub/LICENSE_BSD_Simple.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list