summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD15
2 files changed, 11 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f19aa196267..ef362750f88 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,15 @@
pkgbase = python-bibtexparser
pkgdesc = Bibtex parser in Python
pkgver = 0.6.0
- pkgrel = 1
+ pkgrel = 2
url = https://bibtexparser.readthedocs.org/
arch = any
license = LGPL3
checkdepends = python-nose
makedepends = python-setuptools
depends = python
- source = http://source.sciunto.org/bibtexparser/bibtexparser-0.6.0.tar.bz2
- md5sums = 2141c782baa9881db30ae93039075737
+ source = https://pypi.python.org/packages/source/b/bibtexparser/bibtexparser-0.6.0.tar.gz
+ sha256sums = 0f58ee599de7c01a8e9dd723c2a8d7405cca75bf02ce28c60ada23350d48dfa6
pkgname = python-bibtexparser
diff --git a/PKGBUILD b/PKGBUILD
index 9aa8e9627ea..aad59b7e624 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,9 @@
# Maintainer: Francois Boulogne <fboulogne at april dot org>
pkgname=python-bibtexparser
+_pkgname=bibtexparser
pkgver=0.6.0
-pkgrel=1
+pkgrel=2
pkgdesc="Bibtex parser in Python"
arch=('any')
url="https://bibtexparser.readthedocs.org/"
@@ -11,23 +12,23 @@ license=('LGPL3')
depends=('python')
makedepends=('python-setuptools')
checkdepends=('python-nose')
-source=(http://source.sciunto.org/bibtexparser/bibtexparser-$pkgver.tar.bz2)
+source=(https://pypi.python.org/packages/source/b/bibtexparser/bibtexparser-$pkgver.tar.gz)
+sha256sums=('0f58ee599de7c01a8e9dd723c2a8d7405cca75bf02ce28c60ada23350d48dfa6')
build() {
- cd "$srcdir/bibtexparser"
+ cd "$srcdir/$_pkgname-$pkgver"
python setup.py build
}
check() {
- cd "$srcdir/bibtexparser"
+ cd "$srcdir/$_pkgname-$pkgver"
nosetests3
}
package(){
- cd "$srcdir/bibtexparser"
- python setup.py install --root="${pkgdir}"
+ cd "$srcdir/$_pkgname-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1
}
# vim:ts=2:sw=2:et:
-md5sums=('2141c782baa9881db30ae93039075737')