Commits

Andy Mikhailenko committed ef857e3

Split the ArchLinux packages into python2-argh (Python 2.x, package maintained by Fabien Devaux at the moment) and python-argh (Python 3.x).

  • Participants
  • Parent commits fc2617a
  • Tags 0.15.0

Comments (0)

Files changed (4)

 ^src/
 ^pkg/
 ^.PKGINFO$
-^(python2-)?argh-.+\.tar\..z
+^archlinux-python.?/.+(gz|xz)$
 
 # Debian
 ^debian/python-argh

File PKGBUILD

-# Maintainer: Andrey Mikhaylenko <neithere at gmail dot com>
-# Contributor: Fabien Devaux <fdev31 at gmail dot com>
-pkgname=python2-argh
-pkgver=0.15.0
-pkgrel=1
-pkgdesc="A simple argparse wrapper"
-arch=(any)
-url="http://bitbucket.org/neithere/argh/"
-license=('LGPL3')
-depends=('python2>=2.6' 'python2-argparse>=1.1')
-makedepends=('python2-distribute')
-provides=()
-conflicts=()
-replaces=()
-backup=()
-options=(!emptydirs)
-install=
-source=(http://pypi.python.org/packages/source/a/argh/argh-${pkgver}.tar.gz)
-md5sums=('aa47a35ea5904b3292c1e287977f8d53')
-
-build() {
-   cd "${srcdir}/argh-${pkgver}"
-   python2 setup.py install --root="${pkgdir}" --optimize=1 || exit 1
-}

File archlinux-python/PKGBUILD

+# Maintainer: Andrey Mikhaylenko <neithere at gmail dot com>
+# Contributor: Fabien Devaux <fdev31 at gmail dot com>
+pkgname=python-argh
+pkgver=0.15.0
+pkgrel=1
+pkgdesc="A simple argparse wrapper"
+arch=(any)
+url="http://bitbucket.org/neithere/argh/"
+license=('LGPL3')
+depends=('python>=3.2')
+makedepends=('python-distribute')
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=(!emptydirs)
+install=
+source=(http://pypi.python.org/packages/source/a/argh/argh-${pkgver}.tar.gz)
+md5sums=('aa47a35ea5904b3292c1e287977f8d53')
+
+build() {
+   cd "${srcdir}/argh-${pkgver}"
+   python setup.py install --root="${pkgdir}" --optimize=1 || exit 1
+}

File archlinux-python2/PKGBUILD

+# Maintainer: Andrey Mikhaylenko <neithere at gmail dot com>
+# Contributor: Fabien Devaux <fdev31 at gmail dot com>
+pkgname=python2-argh
+pkgver=0.15.0
+pkgrel=1
+pkgdesc="A simple argparse wrapper"
+arch=(any)
+url="http://bitbucket.org/neithere/argh/"
+license=('LGPL3')
+depends=('python2>=2.6' 'python2-argparse>=1.1')
+makedepends=('python2-distribute')
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=(!emptydirs)
+install=
+source=(http://pypi.python.org/packages/source/a/argh/argh-${pkgver}.tar.gz)
+md5sums=('aa47a35ea5904b3292c1e287977f8d53')
+
+build() {
+   cd "${srcdir}/argh-${pkgver}"
+   python2 setup.py install --root="${pkgdir}" --optimize=1 || exit 1
+}