summaryrefslogtreecommitdiffstats
path: root/abs/core/python_modules
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-04-11 19:05:35 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-04-11 19:05:35 (GMT)
commit03569281bc2dbbeec216145538aabe53f6b81f64 (patch)
treea95abd45b984d9c4c19aaa46442015aa2a860909 /abs/core/python_modules
parentfd7e3569a8f805b3a45a1e14a345bfafa7078085 (diff)
downloadlinhes_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')
-rw-r--r--abs/core/python_modules/python-parted/PKGBUILD32
-rw-r--r--abs/core/python_modules/python-parted/__changelog1
-rw-r--r--abs/core/python_modules/python-pyparted/PKGBUILD42
3 files changed, 42 insertions, 33 deletions
diff --git a/abs/core/python_modules/python-parted/PKGBUILD b/abs/core/python_modules/python-parted/PKGBUILD
deleted file mode 100644
index 0e2aa3c..0000000
--- a/abs/core/python_modules/python-parted/PKGBUILD
+++ /dev/null
@@ -1,32 +0,0 @@
-# Maintainer: Nikos Skalkotos <skalkoto 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
-pkgname=python-parted
-pkgver=3.10.1
-pkgrel=2
-pkgdesc="Python module for GNU parted"
-url="https://github.com/dcantrell/pyparted"
-arch=('i686' 'x86_64')
-license=('GPL2')
-depends=('python2' 'parted>=3.0')
-makedepends=('pkg-config')
-conflicts=('pyparted-git')
-replaces=('pyparted')
-source=("https://github.com/dcantrell/${_pkgname}/archive/${_pkgname}-${pkgver}.tar.gz")
-
-build() {
- cd "${srcdir}/${_pkgname}-${_pkgname}-${pkgver}"
- python2 setup.py build
-}
-
-package() {
- cd "${srcdir}/${_pkgname}-${_pkgname}-${pkgver}"
- python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
-}
-sha512sums=('d2842ba919808ccb757f6852e17c725b7db6e94db31548366fbdf2376960f8cf6ce239cb33282b4eca02f20a94f85bd58e8fc1d40834670c9684f5903c3515e5')
-
diff --git a/abs/core/python_modules/python-parted/__changelog b/abs/core/python_modules/python-parted/__changelog
deleted file mode 100644
index 3cf54c1..0000000
--- a/abs/core/python_modules/python-parted/__changelog
+++ /dev/null
@@ -1 +0,0 @@
-From AUR python2-pyparted
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
+}
+