summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormschubert2019-01-06 22:59:33 +0100
committermschubert2019-01-06 22:59:33 +0100
commitb5eb40e1f870537703e4aeef87ff81f12e128969 (patch)
tree26ece25fbcc36f44e46c2aa33302fe21aef4cefd
parent7f5544ba0fef972f29322eca7aa54100d2e9f57a (diff)
downloadaur-b5eb40e1f870537703e4aeef87ff81f12e128969.tar.gz
upstream moved to bitbucket
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD24
2 files changed, 13 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c97762ade82..3ca8120b40d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
pkgbase = python-rpy2-hg
pkgdesc = A simple, robust Python interface to the R Programming Language.
- pkgver = 2542.d0b42a0bee6c
+ pkgver = r3678.b523b9d0ce9d
pkgrel = 1
- url = http://rpy.sourceforge.net/
+ url = https://rpy2.bitbucket.io/
arch = i686
arch = x86_64
license = MPL
@@ -14,7 +14,7 @@ pkgbase = python-rpy2-hg
provides = python-rpy2
conflicts = python-rpy2
source = python-rpy2-hg::hg+https://bitbucket.org/rpy2/rpy2
- md5sums = SKIP
+ sha256sums = SKIP
pkgname = python-rpy2-hg
diff --git a/PKGBUILD b/PKGBUILD
index b09fba2a4b5..6296defe3ac 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,34 +1,30 @@
# Maintainer: Michael Schubert <mschu.dev at gmail>
-
pkgname=python-rpy2-hg
-pkgver=2542.d0b42a0bee6c
+pkgver=r3678.b523b9d0ce9d
pkgrel=1
pkgdesc="A simple, robust Python interface to the R Programming Language."
arch=('i686' 'x86_64')
-url="http://rpy.sourceforge.net/"
+url="https://rpy2.bitbucket.io/"
license=('MPL' 'GPL' 'LGPL')
makedepends=('mercurial')
depends=('python-numpy' 'r')
provides=('python-rpy2')
conflicts=('python-rpy2')
source=($pkgname::hg+https://bitbucket.org/rpy2/rpy2)
-md5sums=('SKIP')
+sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
- echo $(hg identify -n).$(hg identify -i)
-}
+ echo "r$(hg identify -n).$(hg identify -i)"
+}
-build() {
- cd "$srcdir/$pkgname"
- python setup.py build
-}
+# fails with: AttributeError: module 'rpy2.situation' has no attribute 'get_rlib_path'
+# check() {
+# cd "$srcdir/$pkgname"
+# python setup.py test
+# }
package() {
cd "$srcdir/$pkgname"
python setup.py install --skip-build --prefix=/usr --root="$pkgdir" --optimize=1
-
- mkdir -p "$pkgdir/etc/ld.so.conf.d"
- echo /usr/lib/R/lib > "$pkgdir/etc/ld.so.conf.d/rpy2.conf"
}
-