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

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 04:05:18 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:05:18
  Author: foutrelis
Revision: 748461

archrelease: copy trunk to community-staging-any

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

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

Copied: python-copr/repos/community-staging-any/PKGBUILD (from rev 748460, python-copr/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 04:05:18 UTC (rev 748461)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-copr
+pkgver=1.105
+pkgrel=2
+pkgdesc="Python client for copr service"
+url="https://pagure.io/copr/copr"
+license=('GPL')
+arch=('any')
+depends=('python-marshmallow' 'python-requests' 'python-requests-toolbelt' 'python-six' 'python-munch')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-mock')
+source=("https://pagure.io/copr/copr/archive/python-copr-$pkgver-1/copr-python-copr-$pkgver-1.tar.gz")
+sha512sums=('9f6fcf5cab351559440b971b487f45b41436b87221f957dc5954a13ee70157d3528d0e00f66c8c70ab16cad4f7331006fbf234be443eec8cfbf2d37c799a707b')
+
+build() {
+  cd copr-python-copr-$pkgver-1/python
+  python setup.py build
+}
+
+check() {
+  cd copr-python-copr-$pkgver-1/python
+  pytest
+}
+
+package() {
+  cd copr-python-copr-$pkgver-1/python
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list