[arch-commits] Commit in python-rope/trunk (PKGBUILD)

Morten Linderud foxboron at archlinux.org
Sun Dec 22 13:45:48 UTC 2019


    Date: Sunday, December 22, 2019 @ 13:45:48
  Author: foxboron
Revision: 538839

upgpkg: python-rope 0.14.0-4

Removed python2

Modified:
  python-rope/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++---------------------
 1 file changed, 5 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-22 13:45:35 UTC (rev 538838)
+++ PKGBUILD	2019-12-22 13:45:48 UTC (rev 538839)
@@ -5,39 +5,23 @@
 # Contributor: Ryan Coyner <rcoyner at gmail.com>
 # Contributor: Jens Maucher <defcon at archlinux.us>
 
-pkgbase=python-rope
-pkgname=(python-rope python2-rope)
+pkgname=python-rope
 pkgver=0.14.0
-pkgrel=3
+pkgrel=4
 pkgdesc='Refactoring library'
 arch=('any')
 url='https://github.com/python-rope/rope'
 license=('GPL')
-makedepends=('python' 'python-setuptools'
-             'python2' 'python2-setuptools')
+makedepends=('python' 'python-setuptools')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/python-rope/rope/archive/$pkgver.tar.gz")
 sha256sums=('590a6859c8f141ab91b7117696051ea40a72592aed2299a5d2e260da8dd28540')
 
-prepare() {
-  cp -a rope-$pkgver{,-py2}
-}
-
 build(){
-  cd "$srcdir/rope-$pkgver"
+  cd "rope-$pkgver"
   python setup.py build
-
-  cd "$srcdir/rope-$pkgver-py2"
-  python2 setup.py build
 }
 
-package_python2-rope() {
-  depends=("python2")
-  cd "rope-$pkgver-py2"
-  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
-
-package_python-rope() {
-  depends=("python")
+package() {
   cd "rope-$pkgver"
   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
 }


More information about the arch-commits mailing list