diff options
author | Manuel Kauschinger | 2020-02-12 22:40:20 +0100 |
---|---|---|
committer | Manuel Kauschinger | 2020-02-12 22:40:20 +0100 |
commit | 8148b3eee317fe9da27ee2c3010574787f43928e (patch) | |
tree | 16dbc0ed37b26f3406ed1cc46e4d1d1b606d57eb | |
parent | a614badeecf775bb6ea2aab6798fca5673c94a75 (diff) | |
download | aur-8148b3eee317fe9da27ee2c3010574787f43928e.tar.gz |
end python2 support
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 16 |
3 files changed, 5 insertions, 19 deletions
@@ -6,7 +6,7 @@ pkgbase = python-cfgv arch = any license = MIT makedepends = python - makedepends = python2 + makedepends = python-setuptools source = https://pypi.io/packages/source/c/cfgv/cfgv-3.0.0.tar.gz md5sums = 25dfe5f7a55914666e0da155592cd92b @@ -15,8 +15,3 @@ pkgname = python-cfgv depends = python depends = python-six -pkgname = python2-cfgv - pkgdesc = Python 2 client for cfgv - depends = python2 - depends = python2-six - diff --git a/.gitignore b/.gitignore index 6f72e81ab811..7c70cd8e7577 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ pkg src *.xz *.gz +release* @@ -2,7 +2,7 @@ # Contributor: Serkan Hosca <serkan@hosca.com> pkgbase=python-cfgv -pkgname=(python-cfgv python2-cfgv) +pkgname=python-cfgv pypi_name=cfgv pkgver=3.0.0 pkgrel=1 @@ -10,20 +10,18 @@ pkgdesc="Validate configuration and produce human readable error messages." arch=('any') license=('MIT') url="https://pypi.org/project/cfgv/" -makedepends=('python' 'python2') +makedepends=('python' 'python-setuptools') source=("https://pypi.io/packages/source/c/${pypi_name}/${pypi_name}-${pkgver}.tar.gz") md5sums=('25dfe5f7a55914666e0da155592cd92b') prepare() { - cp -a ${pypi_name}-${pkgver}{,-python2} + cp -a ${pypi_name}-${pkgver} } build() { cd "${srcdir}/${pypi_name}-${pkgver}" python setup.py build - cd "${srcdir}/${pypi_name}-${pkgver}-python2" - python2 setup.py build } package_python-cfgv() { @@ -34,12 +32,4 @@ package_python-cfgv() { python setup.py install --optimize=1 --prefix=/usr --root="${pkgdir}" --skip-build } -package_python2-cfgv() { - pkgdesc='Python 2 client for cfgv' - depends=('python2' 'python2-six') - - cd "${srcdir}/${pypi_name}-${pkgver}-python2" - python2 setup.py install --optimize=1 --prefix=/usr --root="${pkgdir}" --skip-build -} - # vim: set ft=sh ts=4 sw=4 noet: |