summaryrefslogtreecommitdiff
path: root/libre/python-pgpdump
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-05-25 23:30:39 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-05-25 23:30:39 -0400
commit1785d3800f805be0074e735ec3c4b42a1cea70f0 (patch)
treeef6efaf7578cf6bae19f92b4e4934ddf3428c0a4 /libre/python-pgpdump
parent200076f2bb86ebe7a541a71946d7723d52f10292 (diff)
Update libre/parabolaweb-utils and dependencies
Diffstat (limited to 'libre/python-pgpdump')
-rw-r--r--libre/python-pgpdump/PKGBUILD17
1 files changed, 10 insertions, 7 deletions
diff --git a/libre/python-pgpdump/PKGBUILD b/libre/python-pgpdump/PKGBUILD
index e65f60dfa..64fb4d291 100644
--- a/libre/python-pgpdump/PKGBUILD
+++ b/libre/python-pgpdump/PKGBUILD
@@ -2,26 +2,29 @@
_pkgname=pgpdump
pkgname=(python-pgpdump python2-pgpdump)
-pkgver=1.4
+pkgver=1.5
pkgdesc=" a Python library for parsing PGP packets"
url="https://github.com/toofishes/python-pgpdump"
license=('custom:BSD3')
pkgrel=1
arch=(any)
-makedepends=(python python2)
-provides=(python2-pgpdump)
-source=(http://pypi.python.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz)
-md5sums=(b437c28ff9d6a6257a0062c0bbe2a9ec)
+makedepends=('python' 'python2')
+source=(http://pypi.python.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz)
+md5sums=('040a451c8e63de3e61fc5b66efa7fca5')
package_python-pgpdump() {
+ depends=('python')
+
cd "$srcdir/$_pkgname-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1
- install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+ install -Dm644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
package_python2-pgpdump() {
+ depends=('python2')
+
cd "$srcdir/$_pkgname-$pkgver"
python2 setup.py install --root="$pkgdir/" --optimize=1
- install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+ install -Dm644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}