Date: Monday, March 17, 2014 @ 06:54:14
  Author: fyan
Revision: 107339

archrelease: copy trunk to community-staging-any

Added:
  python-pytools/repos/community-staging-any/
  python-pytools/repos/community-staging-any/PKGBUILD
    (from rev 107338, python-pytools/trunk/PKGBUILD)

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

Copied: python-pytools/repos/community-staging-any/PKGBUILD (from rev 107338, 
python-pytools/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2014-03-17 05:54:14 UTC (rev 107339)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@gmail.com>
+# Contributor: Stéphane Gaudreault <steph...@archlinux.org>
+
+pkgbase=python-pytools
+pkgname=('python2-pytools' 'python-pytools')
+pkgver=2014.1.2
+pkgrel=2
+pkgdesc="A collection of tools for Python"
+arch=('any')
+url="http://mathema.tician.de/software/pytools";
+license=('MIT')
+makedepends=('python2-setuptools' 'python-setuptools')
+source=(http://pypi.python.org/packages/source/p/pytools/pytools-${pkgver}.tar.gz)
+
+build() {
+   cp -a pytools-${pkgver}{,-python2}
+
+   cd "$srcdir/pytools-${pkgver}"
+   python setup.py build
+
+   cd "${srcdir}/pytools-${pkgver}-python2"
+   python2 setup.py build
+}
+
+package_python2-pytools() {
+   depends=('python2' 'python2-decorator')
+   cd "${srcdir}/pytools-${pkgver}-python2"
+   python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build 
--optimize=1
+}
+
+package_python-pytools(){
+   depends=('python' 'python-decorator')
+   cd "${srcdir}/pytools-${pkgver}"
+   python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build 
--optimize=1
+}
+
+sha512sums=('4c849518223a8257282a448554d38fee44b9583b1567b8f606a7903994d32274c5f67addfe629ea45a73587efaf9a826604c3688147b10914657d692ed9039e6')

Reply via email to