diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-04-11 19:05:35 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-04-11 19:05:35 (GMT) |
commit | 03569281bc2dbbeec216145538aabe53f6b81f64 (patch) | |
tree | a95abd45b984d9c4c19aaa46442015aa2a860909 /abs/core/python_modules/python-pyparted/PKGBUILD | |
parent | fd7e3569a8f805b3a45a1e14a345bfafa7078085 (diff) | |
download | linhes_pkgbuild-03569281bc2dbbeec216145538aabe53f6b81f64.zip linhes_pkgbuild-03569281bc2dbbeec216145538aabe53f6b81f64.tar.gz linhes_pkgbuild-03569281bc2dbbeec216145538aabe53f6b81f64.tar.bz2 |
python-pyparted: update to 3.11.1
Diffstat (limited to 'abs/core/python_modules/python-pyparted/PKGBUILD')
-rw-r--r-- | abs/core/python_modules/python-pyparted/PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/abs/core/python_modules/python-pyparted/PKGBUILD b/abs/core/python_modules/python-pyparted/PKGBUILD new file mode 100644 index 0000000..355afab --- /dev/null +++ b/abs/core/python_modules/python-pyparted/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Nikos Skalkotos <skalkoto at gmail dot com> +# Contributor: Christian Hesse <mail@eworm.de> +# Contributor: Dennis Værum <dennis.vaerum (at) gmail (dot) com> +# Contributor: Achilleas Pipinellis <axilleas archlinux info> +# Contributor: Stéphane Gaudreault <stephane@archlinux.org> +# Contributor: kfgz <kfgz at interia pl> +# Contributor: Gökmen Görgen <gkmngrgn at gmail dot com> +# Contributor: Baurzhan Muftakhidinov <baurthefirst (at) gmail (dot) com> + +_pkgname=pyparted +pkgbase=python-${_pkgname} +pkgname=(python-${_pkgname} python2-${_pkgname}) +pkgver=3.11.1 +pkgrel=1 +pkgdesc="Python module for GNU parted" +url="https://github.com/rhinstaller/pyparted" +arch=('i686' 'x86_64') +license=('GPL2') +makedepends=('pkg-config' 'python' 'python2' 'parted>=3.0') +conflicts=('pyparted-git') +replaces=('pyparted') +source=("https://github.com/dcantrell/${_pkgname}/archive/v${pkgver}.tar.gz") +sha512sums=('4fe627693db803a82cacb37be8f2bee3527ee8d0d564229d7328a4e5c8dfa7cdd7a06c328ac7fa6b07c8f0c74d5db304410eaf312a60a0d494525d32c873fefd') + +package_python-pyparted() { + pkgdesc="Python module for GNU parted - python 3.x pkg" + depends=('python' 'parted>=3.0') + + cd "${srcdir}/${_pkgname}-${pkgver}" + python3 setup.py build + python3 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build +} + +package_python2-pyparted() { + pkgdesc="Python module for GNU parted - python 2.x pkg" + depends=('python2' 'parted>=3.0') + + cd "${srcdir}/${_pkgname}-${pkgver}" + python2 setup.py build + python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build +} + |