[arch-commits] Commit in (4 files)
Filipe Laíns
ffy00 at archlinux.org
Fri Aug 17 19:53:05 UTC 2018
Date: Friday, August 17, 2018 @ 19:53:04
Author: ffy00
Revision: 372553
create package
Added:
python-pypubsub/
python-pypubsub/repos/
python-pypubsub/trunk/
python-pypubsub/trunk/PKGBUILD
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Added: python-pypubsub/trunk/PKGBUILD
===================================================================
--- python-pypubsub/trunk/PKGBUILD (rev 0)
+++ python-pypubsub/trunk/PKGBUILD 2018-08-17 19:53:04 UTC (rev 372553)
@@ -0,0 +1,34 @@
+# $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
+}
Property changes on: python-pypubsub/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list