[arch-commits] Commit in python2-secretstorage/repos (2 files)

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


    Date: Monday, August 20, 2018 @ 19:44:51
  Author: ffy00
Revision: 372905

archrelease: copy trunk to community-any

Added:
  python2-secretstorage/repos/community-any/
  python2-secretstorage/repos/community-any/PKGBUILD
    (from rev 372904, python2-secretstorage/trunk/PKGBUILD)

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

Copied: python2-secretstorage/repos/community-any/PKGBUILD (from rev 372904, python2-secretstorage/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2018-08-20 19:44:51 UTC (rev 372905)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Filipe Laíns (FFY00) <filipe.lains at gmail.com>
+
+pkgname=python2-secretstorage
+_pkgname=${pkgname#python2-}
+pkgver=2.3.1
+pkgrel=1
+pkgdesc="This module provides a way for securely storing passwords and other secrets."
+arch=('any')
+url="https://github.com/mitya57/secretstorage"
+license=('BSD')
+depends=('python2-dbus' 'python2-cryptography')
+makedepends=('python2-setuptools')
+provides=('python2-secretstorage')
+conflicts=('python2-secretstorage')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('0a22937d5772ac43e3a5f5a0dc101911322386f23cb46036d1f0962b879a1896ba7a2852aed85ebb5cb6b0919a0da6517b3eb2f5dc7c69c7b5c4b7875145f66e')
+
+build() {
+  cd $_pkgname-$pkgver
+  python2 setup.py build
+}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  # Install the license
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list