[arch-commits] Commit in python-rope/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat Jun 30 18:41:29 UTC 2018
Date: Saturday, June 30, 2018 @ 18:41:28
Author: foutrelis
Revision: 349068
archrelease: copy trunk to community-staging-any
Added:
python-rope/repos/community-staging-any/
python-rope/repos/community-staging-any/PKGBUILD
(from rev 349067, python-rope/trunk/PKGBUILD)
----------+
PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
Copied: python-rope/repos/community-staging-any/PKGBUILD (from rev 349067, python-rope/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-06-30 18:41:28 UTC (rev 349068)
@@ -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=4
+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=("python")
+ 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