From b255b89879ec0596e6e63247b3ec3a4cf194e132 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Fri, 27 Apr 2018 19:40:22 +0000
Subject: python-pyparted: make python-parted conflict and replaces

---
 abs/core/python_modules/python-pyparted/PKGBUILD | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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
-- 
cgit v0.12