summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-04-27 19:40:22 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-04-27 19:40:22 (GMT)
commitb255b89879ec0596e6e63247b3ec3a4cf194e132 (patch)
treefc32fc161a967379600a59ea107d710ea0060f6c /abs/core
parentaea443b8ba699ce899b5de1b8abe92764779db8a (diff)
downloadlinhes_pkgbuild-b255b89879ec0596e6e63247b3ec3a4cf194e132.zip
linhes_pkgbuild-b255b89879ec0596e6e63247b3ec3a4cf194e132.tar.gz
linhes_pkgbuild-b255b89879ec0596e6e63247b3ec3a4cf194e132.tar.bz2
python-pyparted: make python-parted conflict and replaces
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/python_modules/python-pyparted/PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/abs/core/python_modules/python-pyparted/PKGBUILD b/abs/core/python_modules/python-pyparted/PKGBUILD
index 355afab..e5a46cb 100644
--- a/abs/core/python_modules/python-pyparted/PKGBUILD
+++ b/abs/core/python_modules/python-pyparted/PKGBUILD
@@ -11,7 +11,7 @@ _pkgname=pyparted
pkgbase=python-${_pkgname}
pkgname=(python-${_pkgname} python2-${_pkgname})
pkgver=3.11.1
-pkgrel=1
+pkgrel=2
pkgdesc="Python module for GNU parted"
url="https://github.com/rhinstaller/pyparted"
arch=('i686' 'x86_64')
@@ -34,6 +34,8 @@ package_python-pyparted() {
package_python2-pyparted() {
pkgdesc="Python module for GNU parted - python 2.x pkg"
depends=('python2' 'parted>=3.0')
+ replaces=('python-parted')
+ conflicts=('python-parted')
cd "${srcdir}/${_pkgname}-${pkgver}"
python2 setup.py build