[arch-commits] Commit in (4 files)
Kyle Keen
kkeen at archlinux.org
Mon Oct 10 02:38:59 UTC 2016
Date: Monday, October 10, 2016 @ 02:38:59
Author: kkeen
Revision: 191773
pkginit: python-pickleshare-0.7.4
Added:
python-pickleshare/
python-pickleshare/repos/
python-pickleshare/trunk/
python-pickleshare/trunk/PKGBUILD
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Added: python-pickleshare/trunk/PKGBUILD
===================================================================
--- python-pickleshare/trunk/PKGBUILD (rev 0)
+++ python-pickleshare/trunk/PKGBUILD 2016-10-10 02:38:59 UTC (rev 191773)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgbase=python-pickleshare
+pkgname=(python-pickleshare python2-pickleshare)
+pkgver=0.7.4
+pkgrel=1
+pkgdesc="File system based database that uses python pickles"
+arch=('any')
+url="https://github.com/pickleshare/pickleshare"
+license=('MIT')
+depends=('python' 'python-path')
+makedepends=('python-setuptools' 'python2-setuptools')
+
+source=("https://files.pythonhosted.org/packages/source/p/pickleshare/pickleshare-$pkgver.tar.gz")
+md5sums=('6a9e5dd8dfc023031f6b7b3f824cab12')
+
+prepare() {
+ cd "$srcdir"
+ cp -r pickleshare-$pkgver python2-pickleshare-$pkgver
+}
+
+build() {
+ cd "$srcdir"
+}
+
+package_python-pickleshare() {
+ cd "$srcdir/pickleshare-$pkgver"
+ python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-pickleshare() {
+ depends=('python2' 'python2-path')
+ cd "$srcdir/python2-pickleshare-$pkgver"
+ sed -i 's/env python$/env python2/' pickleshare.py
+ python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
Property changes on: python-pickleshare/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list