diff options
author | Étienne Deparis | 2018-01-02 15:18:15 +0100 |
---|---|---|
committer | Étienne Deparis | 2018-01-02 15:18:15 +0100 |
commit | 8c0790b6a64c55d7531c175a527769d7c7bfb8a5 (patch) | |
tree | 07ea3582e10adbf8ee5a324c18aa2481d058930f | |
parent | 2981086aa9be093ab940524258b33488de831949 (diff) | |
download | aur-python2-exconsole.tar.gz |
Use new pypi scheme
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 8 insertions, 8 deletions
@@ -1,15 +1,15 @@ -# Generated by makepkg 4.2.1 -# Wed Jun 10 12:42:26 UTC 2015 +# Generated by makepkg 5.0.2 +# Tue Jan 2 14:17:42 UTC 2018 pkgbase = python2-exconsole pkgdesc = Emergency/postmortem Python console pkgver = 0.1.5 - pkgrel = 1 + pkgrel = 2 url = https://pypi.python.org/pypi/python-exconsole arch = any license = PSF makedepends = python2-setuptools options = !emptydirs - source = http://pypi.python.org/packages/source/p/python-exconsole/python-exconsole-0.1.5.tar.gz + source = https://files.pythonhosted.org/packages/source/p/python-exconsole/python-exconsole-0.1.5.tar.gz md5sums = 595c7fd980dd425c541be960e7fd3eee pkgname = python2-exconsole @@ -1,19 +1,20 @@ # Maintainer: Étienne Deparis <etienne [at] depar.is> pkgname=python2-exconsole +_name=python-exconsole pkgver=0.1.5 -pkgrel=1 +pkgrel=2 pkgdesc="Emergency/postmortem Python console" license=("PSF") url="https://pypi.python.org/pypi/python-exconsole" makedepends=('python2-setuptools') -source=(http://pypi.python.org/packages/source/p/python-exconsole/python-exconsole-$pkgver.tar.gz) +source=("https://files.pythonhosted.org/packages/source/p/${_name}/${_name}-$pkgver.tar.gz") md5sums=('595c7fd980dd425c541be960e7fd3eee') arch=('any') options=(!emptydirs) package() { - cd $srcdir/python-exconsole-$pkgver + cd $srcdir/${_name}-$pkgver find . -type f -exec sed -i \ -e'1s|^#!/usr/bin/env python$|#!/usr/bin/env python2|' \ @@ -22,4 +23,3 @@ package() { python2 setup.py install --root=$pkgdir } - |