[arch-commits] Commit in (4 files)

Filipe Laíns ffy00 at archlinux.org
Mon Aug 20 19:40:30 UTC 2018


    Date: Monday, August 20, 2018 @ 19:40:29
  Author: ffy00
Revision: 372901

import from aur

Added:
  python2-keyring/
  python2-keyring/repos/
  python2-keyring/trunk/
  python2-keyring/trunk/PKGBUILD

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

Added: python2-keyring/trunk/PKGBUILD
===================================================================
--- python2-keyring/trunk/PKGBUILD	                        (rev 0)
+++ python2-keyring/trunk/PKGBUILD	2018-08-20 19:40:29 UTC (rev 372901)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=python2-keyring
+_pkgname=${pkgname#python2-}
+pkgver=13.2.1
+pkgrel=2
+pkgdesc="Provides an easy way to access the system keyring service from python."
+arch=('any')
+url="https://github.com/jaraco/keyring"
+license=('MIT')
+depends=('python2-entrypoints' 'python2-secretstorage')
+makedepends=('python2-setuptools-scm')
+source=("$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
+sha256sums=('6364bb8c233f28538df4928576f4e051229e0451651073ab20b315488da16a58')
+
+build() {
+  cd $_pkgname-$pkgver
+
+  python2 setup.py build
+}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  # Fix the binary name
+  mv "$pkgdir"/usr/bin/keyring "$pkgdir"/usr/bin/keyring2
+
+  # Install the license
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


Property changes on: python2-keyring/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list