summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP-Ellis2019-02-18 21:01:47 +1100
committerJP-Ellis2019-02-18 21:07:33 +1100
commit15041d1eca95cc4ac1227e0d46943d3bf291580a (patch)
treebf14afe69d8a984c62a6305e0b5e83292f35152e
parent8ab5cc3ce264e2198c35b454e8894bc9167660b3 (diff)
downloadaur-15041d1eca95cc4ac1227e0d46943d3bf291580a.tar.gz
Update to v1.1.0
Also a few minor changes to the PKGBUILD
-rw-r--r--.AURINFO14
-rw-r--r--.SRCINFO11
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD26
4 files changed, 19 insertions, 33 deletions
diff --git a/.AURINFO b/.AURINFO
deleted file mode 100644
index c3b7995f6c3..00000000000
--- a/.AURINFO
+++ /dev/null
@@ -1,14 +0,0 @@
-pkgbase = python-bibtexparser
- pkgdesc = Bibtex parser in Python
- pkgver = 0.6.0
- pkgrel = 1
- 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
-
-pkgname = python-bibtexparser
-
diff --git a/.SRCINFO b/.SRCINFO
index 574bc552899..b775687b143 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,16 @@
-# Generated by mksrcinfo v8
-# Sat Mar 3 12:20:06 UTC 2018
pkgbase = python-bibtexparser
pkgdesc = Bibtex parser in Python
- pkgver = 1.0.1
+ pkgver = 1.1.0
pkgrel = 1
- url = https://bibtexparser.readthedocs.org/
+ url = https://pypi.org/project/bibtexparser/
arch = any
license = LGPL3
checkdepends = python-nose
makedepends = python-setuptools
depends = python
- source = https://pypi.python.org/packages/35/71/209bae42db6cc230ffd126dbda7ec057dd69a084acb4ddcd9ab4544c4506/bibtexparser-1.0.1.tar.gz
- sha256sums = cc41cdd8332c2bf44b97daf1f135f4f267c3b744c33976655cd270b66f964c0a
+ depends = python-pyparsing
+ source = https://files.pythonhosted.org/packages/source/b/bibtexparser/bibtexparser-1.1.0.tar.gz
+ sha256sums = df8966ea752db6d74657a69b9d684a61aa33457ad6d9d50e41c50ef7f374907f
pkgname = python-bibtexparser
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..c32b546f7db
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*.tar.gz \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
index 5207ff83880..aee4b98212c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,34 +1,34 @@
-# Contributor: Francois Boulogne <fboulogne at april dot org>
+# Maintainer: JP-Ellis <josh@jpellis.me>
# Maintainer: Francois Boulogne <fboulogne at april dot org>
pkgname=python-bibtexparser
-_pkgname=bibtexparser
-pkgver=1.0.1
+_name=${pkgname#python-}
+pkgver=1.1.0
pkgrel=1
pkgdesc="Bibtex parser in Python"
arch=('any')
-url="https://bibtexparser.readthedocs.org/"
+url="https://pypi.org/project/bibtexparser/"
license=('LGPL3')
-depends=('python')
+depends=('python' 'python-pyparsing')
makedepends=('python-setuptools')
checkdepends=('python-nose')
-source=(https://pypi.python.org/packages/35/71/209bae42db6cc230ffd126dbda7ec057dd69a084acb4ddcd9ab4544c4506/bibtexparser-1.0.1.tar.gz)
-sha256sums=('cc41cdd8332c2bf44b97daf1f135f4f267c3b744c33976655cd270b66f964c0a')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha256sums=('df8966ea752db6d74657a69b9d684a61aa33457ad6d9d50e41c50ef7f374907f')
build() {
- cd "$srcdir/$_pkgname-$pkgver"
+ cd "${srcdir}/${_name}-${pkgver}"
python setup.py build
+ touch Changelog.rst
}
check() {
- cd "$srcdir/$_pkgname-$pkgver"
+ cd "${srcdir}/${_name}-${pkgver}"
nosetests3
}
-
-package(){
- cd "$srcdir/$_pkgname-$pkgver"
- python setup.py install --root="$pkgdir/" --optimize=1
+package() {
+ cd "${srcdir}/${_name}-${pkgver}"
+ python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
# vim:ts=2:sw=2:et: