[arch-commits] Commit in python-rope/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Fri Oct 25 16:19:21 UTC 2019
Date: Friday, October 25, 2019 @ 16:19:21
Author: foutrelis
Revision: 519428
archrelease: copy trunk to community-staging-any
Added:
python-rope/repos/community-staging-any/
python-rope/repos/community-staging-any/PKGBUILD
(from rev 519426, python-rope/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: python-rope/repos/community-staging-any/PKGBUILD (from rev 519426, python-rope/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 16:19:21 UTC (rev 519428)
@@ -0,0 +1,45 @@
+# 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.14.0
+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=('590a6859c8f141ab91b7117696051ea40a72592aed2299a5d2e260da8dd28540')
+
+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