summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD18
2 files changed, 15 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e6e65e4627f..6fa7f46a9b9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
pkgbase = python-svglib
pkgdesc = A pure-Python library for reading and converting SVG files.
- pkgver = 1.0.0
+ pkgver = 1.0.1
pkgrel = 1
- url = http://pypi.python.org/pypi/svglib/1.0.0
+ url = https://pypi.python.org/pypi/svglib/1.0.1
arch = any
license = LGPL
makedepends = python-setuptools
@@ -12,8 +12,8 @@ pkgbase = python-svglib
depends = python-tinycss2
depends = python-reportlab
options = !emptydirs
- source = https://files.pythonhosted.org/packages/source/s/svglib/svglib-1.0.0.tar.gz
- sha256sums = b17d4a6352f6c25ca3718d2b66a2f1ecfcdf558b1f6646c37f5c191b655979f1
+ source = https://files.pythonhosted.org/packages/source/s/svglib/svglib-1.0.1.tar.gz
+ sha256sums = ff01593e8c07ea462d3742e1f4141bfa261cbd4400ceb25dfb8fec3508ad0e50
pkgname = python-svglib
diff --git a/PKGBUILD b/PKGBUILD
index b68919e58b4..463ef590c05 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,12 @@
# Maintainer: Vladimir Gorbunov <truedaemon@gmail.com>
-pkgbase=python-svglib
-pkgname=('python-svglib')
+pkgname=python-svglib
_name=svglib
-pkgver=1.0.0
+pkgver=1.0.1
pkgrel=1
pkgdesc="A pure-Python library for reading and converting SVG files."
arch=('any')
-url="http://pypi.python.org/pypi/svglib/$pkgver"
+url="https://pypi.python.org/pypi/$_name/$pkgver"
license=('LGPL')
options=(!emptydirs)
depends=('python'
@@ -17,9 +16,14 @@ depends=('python'
'python-reportlab')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha256sums=('b17d4a6352f6c25ca3718d2b66a2f1ecfcdf558b1f6646c37f5c191b655979f1')
+sha256sums=('ff01593e8c07ea462d3742e1f4141bfa261cbd4400ceb25dfb8fec3508ad0e50')
-package_python-svglib() {
+build() {
cd "${srcdir}/${_name}-${pkgver}"
- python setup.py install --root="$pkgdir/" --optimize=1
+ python setup.py build
+}
+
+package() {
+ cd "${srcdir}/${_name}-${pkgver}"
+ python setup.py install -O1 --skip-build --root="$pkgdir"
}