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

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 17:48:16 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:48:16
  Author: foutrelis
Revision: 752824

archrelease: copy trunk to community-staging-any

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

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

Copied: python-whelk/repos/community-staging-any/PKGBUILD (from rev 752823, python-whelk/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 17:48:16 UTC (rev 752824)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-whelk
+pkgver=3.0
+pkgrel=2
+pkgdesc="Easy access to shell commands from python"
+arch=('any')
+license=('custom:zlib')
+url="https://pypi.python.org/pypi/whelk"
+depends=('python')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/seveas/whelk/archive/$pkgver.tar.gz")
+sha512sums=('7760e342b09a03951848d7c5ce258b43b44b6deda3efdb0433bd4704ebb8bd0e43589000e0e8916c2469ac154e0121292b79880fc09e5d44202117900ae7fb69')
+
+build() {
+  cd whelk-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd whelk-$pkgver
+  python -munittest discover
+}
+
+package() {
+  cd whelk-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}



More information about the arch-commits mailing list