[arch-commits] Commit in python-svgwrite/repos (community-any community-any/PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Sun Sep 16 21:25:46 UTC 2018
Date: Sunday, September 16, 2018 @ 21:25:45
Author: ffy00
Revision: 382243
archrelease: copy trunk to community-any
Added:
python-svgwrite/repos/community-any/
python-svgwrite/repos/community-any/PKGBUILD
(from rev 382242, python-svgwrite/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: python-svgwrite/repos/community-any/PKGBUILD (from rev 382242, python-svgwrite/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2018-09-16 21:25:45 UTC (rev 382243)
@@ -0,0 +1,32 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=python-svgwrite
+_pkgname=svgwrite
+pkgver=1.1.12
+pkgrel=3
+pkgdesc='A Python library to create SVG drawings'
+arch=('any')
+url='http://github.com/mozman/svgwrite'
+license=('MIT')
+depends=('python' 'python-pyparsing')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('326fcc0dd0749925c0c35793a91ffdb25be1fd724d7d87bd6491a6396a6ab65fce073a387faac4f3d034ceadcf24ef73e3838cd249c4e1c19e20b1e82769cf1a')
+
+build() {
+ cd $_pkgname-$pkgver
+
+ python setup.py build
+}
+
+check() {
+ cd $_pkgname-$pkgver
+
+ python setup.py test
+}
+
+package() {
+ cd $_pkgname-$pkgver
+
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
More information about the arch-commits
mailing list