[arch-commits] Commit in python2-keyrings-alt/repos (2 files)
Filipe Laíns
ffy00 at archlinux.org
Mon Aug 20 19:58:27 UTC 2018
Date: Monday, August 20, 2018 @ 19:58:27
Author: ffy00
Revision: 372910
archrelease: copy trunk to community-any
Added:
python2-keyrings-alt/repos/community-any/
python2-keyrings-alt/repos/community-any/PKGBUILD
(from rev 372909, python2-keyrings-alt/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python2-keyrings-alt/repos/community-any/PKGBUILD (from rev 372909, python2-keyrings-alt/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2018-08-20 19:58:27 UTC (rev 372910)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=python2-keyrings-alt
+_pkgname=keyrings.alt
+pkgver=3.1
+pkgrel=1
+pkgdesc="Alternate keyring backend implementations for use with the keyring package."
+arch=('any')
+url="https://github.com/jaraco/keyrings.alt"
+license=('MIT')
+depends=('python2-six')
+makedepends=('python2-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
+sha256sums=('b59c86b67b9027a86e841a49efc41025bcc3b1b0308629617b66b7011e52db5a')
+
+build() {
+ cd $_pkgname-$pkgver
+
+ python2 setup.py build
+}
+
+package() {
+ cd $_pkgname-$pkgver
+
+ python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+ # Install license
+ install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
More information about the arch-commits
mailing list