[arch-commits] Commit in python-venusian/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 4 03:09:46 UTC 2019


    Date: Monday, November 4, 2019 @ 03:09:45
  Author: felixonmars
Revision: 523044

archrelease: copy trunk to community-staging-any

Added:
  python-venusian/repos/community-staging-any/
  python-venusian/repos/community-staging-any/PKGBUILD
    (from rev 523043, python-venusian/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: python-venusian/repos/community-staging-any/PKGBUILD (from rev 523043, python-venusian/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 03:09:45 UTC (rev 523044)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Sergey Mastykov <smastykov[at]gmail[dot]com>
+
+pkgname=python-venusian
+pkgver=1.2.0
+pkgrel=3
+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')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Pylons/venusian/archive/$pkgver.tar.gz")
+sha512sums=('8ae485677f28584701d0cb3997aab4c1ecfaa78580a3da951ae63a7c6cc266beee1f5064e0a2653c2e1210a4138aa123c1309be5e5f858ec13ff72ec19429e13')
+
+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