[arch-commits] Commit in python-py/repos (2 files)
Felix Yan
fyan at nymeria.archlinux.org
Mon Mar 17 05:47:46 UTC 2014
Date: Monday, March 17, 2014 @ 06:47:46
Author: fyan
Revision: 107335
archrelease: copy trunk to community-staging-any
Added:
python-py/repos/community-staging-any/
python-py/repos/community-staging-any/PKGBUILD
(from rev 107334, python-py/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: python-py/repos/community-staging-any/PKGBUILD (from rev 107334, python-py/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2014-03-17 05:47:46 UTC (rev 107335)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Sebastian Wiesner <lunaryorn googlemail com>
+# Contributor: Igor Ramos Tiburcio <irtigor at yahoo.com.br>
+# Contributor: Wieland Hoffmann <themineo+aur at gmail.com>
+# Contributor: Hervé Cauwelier <herve ¤ oursours.net>
+# Contributor: Felix Kaiser <felix.kaiser at fxkr.net>
+
+pkgbase=python-py
+pkgname=('python-py' 'python2-py')
+pkgver=1.4.20
+pkgrel=2
+pkgdesc="library with cross-python path, ini-parsing, io, code, log facilities"
+arch=('any')
+license=('MIT')
+url="http://pylib.readthedocs.org/en/latest/"
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("http://pypi.python.org/packages/source/p/py/py-$pkgver.tar.gz")
+
+prepare() {
+ cp -r py-${pkgver} python2-py-${pkgver}
+}
+
+package_python-py() {
+ depends=('python')
+
+ cd py-${pkgver}
+ python setup.py install --root="${pkgdir}" --optimize=1
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-py() {
+ depends=('python2')
+
+ cd python2-py-${pkgver}
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+sha512sums=('db392bd8d52ac2bf7b4785e18aaf58564596f66f15d355ee6f6e4169f6da7847331096ac7118c758ee5ce3f1865502a45f92ca2c99f411c12ee316760ca2b212')
More information about the arch-commits
mailing list