[arch-commits] Commit in python-svgwrite/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 19:12:00 UTC 2020


    Date: Thursday, November 12, 2020 @ 19:12:00
  Author: foutrelis
Revision: 753364

archrelease: copy trunk to community-staging-any

Added:
  python-svgwrite/repos/community-staging-any/
  python-svgwrite/repos/community-staging-any/PKGBUILD
    (from rev 753363, python-svgwrite/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: python-svgwrite/repos/community-staging-any/PKGBUILD (from rev 753363, python-svgwrite/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 19:12:00 UTC (rev 753364)
@@ -0,0 +1,32 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=python-svgwrite
+_pkgname=svgwrite
+pkgver=1.3.1
+pkgrel=3
+pkgdesc='A Python library to create SVG drawings'
+arch=('any')
+url='https://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=('a4d2db34194923055c6e92c0af5540eef767cf8481d7c991b357f5bc77fd1874bba65220e7a7ff3a4da4bd30a49663b6ac514adb2b41cb4b087a7bb64053ac0a')
+
+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