[arch-commits] Commit in python-venusian/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 17:35:01 UTC 2020
Date: Thursday, November 12, 2020 @ 17:35:01
Author: foutrelis
Revision: 752689
archrelease: copy trunk to community-staging-any
Added:
python-venusian/repos/community-staging-any/
python-venusian/repos/community-staging-any/PKGBUILD
(from rev 752687, python-venusian/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-venusian/repos/community-staging-any/PKGBUILD (from rev 752687, python-venusian/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 17:35:01 UTC (rev 752689)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Sergey Mastykov <smastykov[at]gmail[dot]com>
+
+pkgname=python-venusian
+pkgver=3.0.0
+pkgrel=2
+pkgdesc="A library for deferring decorator actions"
+arch=('any')
+license=('custom:BSD')
+url="https://pylonsproject.org"
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-pytest-cov')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Pylons/venusian/archive/$pkgver.tar.gz")
+sha512sums=('5cb765d42c19341917bfe8b97c4c117140060a2c6b12492daebbae5e48cbc8b9db0c85593714c1b3754f7921c522d99b0feaf79291088a5abd83f979a3a938c0')
+
+build() {
+ cd venusian-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd venusian-$pkgver
+ python setup.py pytest
+}
+
+package() {
+ cd venusian-$pkgver
+ python 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