[arch-commits] Commit in python-tappy/repos (community-any community-any/PKGBUILD)
Lukas Fleischer
lfleischer at archlinux.org
Mon Mar 23 15:40:19 UTC 2020
Date: Monday, March 23, 2020 @ 15:40:18
Author: lfleischer
Revision: 603736
archrelease: copy trunk to community-any
Added:
python-tappy/repos/community-any/
python-tappy/repos/community-any/PKGBUILD
(from rev 603735, python-tappy/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: python-tappy/repos/community-any/PKGBUILD (from rev 603735, python-tappy/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2020-03-23 15:40:18 UTC (rev 603736)
@@ -0,0 +1,34 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Patrick McCarty <pnorcks at gmail dot com>
+
+pkgname=python-tappy
+_pyname=tap.py
+pkgver=2.5
+pkgrel=1
+pkgdesc="Test Anything Protocol (TAP) tools for Python"
+arch=(any)
+url="https://pypi.python.org/pypi/tap.py"
+license=('BSD')
+depends=('python' 'python-babel' 'python-pyaml' 'python-more-itertools')
+makedepends=('python-mock')
+options=(!emptydirs)
+source=(https://files.pythonhosted.org/packages/source/t/${_pyname}/${_pyname}-${pkgver}.tar.gz
+ https://github.com/python-tap/tappy/commit/83b5335f6f104cde2396dbf9dce5ceb3dd5049c3.patch)
+sha256sums=('8ad62ba6898fcef4913c67d468d0c4beae3109b74c03363538145e31b1840b29'
+ '28ac7dd6577641decdbf7ec689f7d920f34b4451e299af517e1fefb81d35a1fa')
+
+prepare() {
+ cd "$_pyname-$pkgver"
+ patch -p1 -i ../83b5335f6f104cde2396dbf9dce5ceb3dd5049c3.patch
+}
+
+check() {
+ cd "$_pyname-$pkgver"
+ python setup.py test
+}
+
+package() {
+ cd "$_pyname-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list