[arch-commits] Commit in copr-cli/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 17:34:37 UTC 2020
Date: Thursday, November 12, 2020 @ 17:34:37
Author: felixonmars
Revision: 752676
archrelease: copy trunk to community-staging-any
Added:
copr-cli/repos/community-staging-any/
copr-cli/repos/community-staging-any/PKGBUILD
(from rev 752674, copr-cli/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: copr-cli/repos/community-staging-any/PKGBUILD (from rev 752674, copr-cli/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 17:34:37 UTC (rev 752676)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=copr-cli
+pkgver=1.89
+pkgrel=2
+pkgdesc="CLI tool to run copr"
+url="https://pagure.io/copr/copr"
+license=('GPL')
+arch=('any')
+depends=('python-copr' 'python-humanize' 'python-simplejson' 'python-jinja')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-mock')
+source=("https://pagure.io/copr/copr/archive/copr-cli-$pkgver-1/copr-copr-cli-$pkgver-1.tar.gz")
+sha512sums=('06f3a673ad9314af668782a56eb70f5b0e35dec0f6f2ed4437ad69a43d456b78120cbeb6d2d2855ab74c55a631623799bdddaecdf90a07c3161f38247b160a8f')
+
+build() {
+ cd copr-copr-cli-$pkgver-1/cli
+ python setup.py build
+}
+
+check() {
+ cd copr-copr-cli-$pkgver-1/cli
+ python -m pytest
+}
+
+package() {
+ cd copr-copr-cli-$pkgver-1/cli
+ python setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list