[arch-commits] Commit in python-itsdangerous/repos/community-any (PKGBUILD PKGBUILD)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Tue Aug 27 11:33:39 UTC 2013
Date: Tuesday, August 27, 2013 @ 13:33:39
Author: arodseth
Revision: 96391
archrelease: copy trunk to community-any
Added:
python-itsdangerous/repos/community-any/PKGBUILD
(from rev 96390, python-itsdangerous/trunk/PKGBUILD)
Deleted:
python-itsdangerous/repos/community-any/PKGBUILD
----------+
PKGBUILD | 57 +++++++++++++++++++++++++++++++++++++--------------------
1 file changed, 37 insertions(+), 20 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-08-27 11:33:32 UTC (rev 96390)
+++ PKGBUILD 2013-08-27 11:33:39 UTC (rev 96391)
@@ -1,20 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-pkgname=python2-itsdangerous
-pkgver=0.21
-pkgrel=1
-pkgdesc="Various helpers to pass trusted data to untrusted environments"
-arch=('any')
-url="http://pypi.python.org/pypi/itsdangerous"
-license=('BSD')
-depends=('python2')
-source=("https://github.com/mitsuhiko/itsdangerous/archive/${pkgver}.tar.gz")
-md5sums=('e856a533f73548d82a7083046da96479')
-
-package() {
- cd "$srcdir/itsdangerous-$pkgver"
- python2 setup.py install --root="$pkgdir/" --optimize=1
-
- install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-itsdangerous/repos/community-any/PKGBUILD (from rev 96390, python-itsdangerous/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-08-27 11:33:39 UTC (rev 96391)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Alexander Rødseth <rodseth at gmail.com>
+
+pkgname=('python-itsdangerous' 'python2-itsdangerous')
+pkgver=0.21
+pkgrel=2
+pkgdesc='Various helpers to pass trusted data to untrusted environments'
+arch=('any')
+url="http://pypi.python.org/pypi/itsdangerous"
+license=('BSD')
+makedepends=('python' 'python2')
+source=("https://github.com/mitsuhiko/itsdangerous/archive/${pkgver}.tar.gz")
+sha256sums=('724c95793ad16258147d043dddbfbfff261c5e2720f2e837c1064825330fe481')
+
+prepare() {
+ cp -r "itsdangerous-$pkgver" "python-itsdangerous-$pkgver"
+ cp -r "itsdangerous-$pkgver" "python2-itsdangerous-$pkgver"
+}
+
+package_python-itsdangerous() {
+ cd "$pkgname-$pkgver"
+ depends+=('python')
+
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-itsdangerous() {
+ cd "$pkgname-$pkgver"
+ depends+=('python2')
+
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list