[arch-commits] Commit in python-rope/repos/community-any (PKGBUILD PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Tue Jan 9 14:56:07 UTC 2018
Date: Tuesday, January 9, 2018 @ 14:56:06
Author: foxboron
Revision: 280700
archrelease: copy trunk to community-any
Added:
python-rope/repos/community-any/PKGBUILD
(from rev 280699, python-rope/trunk/PKGBUILD)
Deleted:
python-rope/repos/community-any/PKGBUILD
----------+
PKGBUILD | 77 ++++++++++++++++++++++++++++++++++++-------------------------
1 file changed, 46 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-09 14:40:48 UTC (rev 280699)
+++ PKGBUILD 2018-01-09 14:56:06 UTC (rev 280700)
@@ -1,31 +0,0 @@
-# $Id: PKGBUILD 64151 2012-02-09 14:12:07Z arodseth $
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: Thomas Dziedzic <gostrc at gmail.com>
-# Contributor: Nicolás de la torre <ndelatorre at gmail.com>
-# Contributor: Ryan Coyner <rcoyner at gmail.com>
-# Contributor: Jens Maucher <defcon at archlinux.us>
-
-pkgname=python-rope
-pkgver=0.10.7
-pkgrel=1
-pkgdesc='Refactoring library'
-arch=('any')
-url='https://pypi.python.org/pypi/rope'
-license=('GPL')
-depends=('python')
-source=("https://pypi.python.org/packages/7e/fc/702c0293b57edd4d70146e36f9413c40339a701a43c8fa6918fb9d834913/rope-0.10.7.tar.gz")
-md5sums=('eb1bbeb7e366fe82c222ee39144ebafa')
-
-build() {
- cd "rope-$pkgver"
-
- python setup.py build
-}
-
-package() {
- cd "rope-$pkgver"
-
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-rope/repos/community-any/PKGBUILD (from rev 280699, python-rope/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-01-09 14:56:06 UTC (rev 280700)
@@ -0,0 +1,46 @@
+# $Id: PKGBUILD 64151 2012-02-09 14:12:07Z arodseth $
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Thomas Dziedzic <gostrc at gmail.com>
+# Contributor: Nicolás de la torre <ndelatorre at gmail.com>
+# Contributor: Ryan Coyner <rcoyner at gmail.com>
+# Contributor: Jens Maucher <defcon at archlinux.us>
+
+pkgbase=python-rope
+pkgname=(python-rope python2-rope)
+pkgver=0.10.7
+pkgrel=2
+pkgdesc='Refactoring library'
+arch=('any')
+url='https://github.com/python-rope/rope'
+license=('GPL')
+makedepends=('python' 'python-setuptools'
+ 'python2' 'python2-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/python-rope/rope/archive/$pkgver.tar.gz")
+sha256sums=('4426d16686774f2b3d0431e5e54e7e261eab967e9e50e0af7fdaf95436057d74')
+
+prepare() {
+ cp -a rope-$pkgver{,-py2}
+}
+
+build(){
+ cd "$srcdir/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=("python2")
+ cd "rope-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list