[arch-commits] Commit in python-schemdraw/repos (community-any community-any/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat May 25 18:30:18 UTC 2019
Date: Saturday, May 25, 2019 @ 18:30:18
Author: felixonmars
Revision: 470751
archrelease: copy trunk to community-any
Added:
python-schemdraw/repos/community-any/
python-schemdraw/repos/community-any/PKGBUILD
(from rev 470750, python-schemdraw/trunk/PKGBUILD)
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Copied: python-schemdraw/repos/community-any/PKGBUILD (from rev 470750, python-schemdraw/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2019-05-25 18:30:18 UTC (rev 470751)
@@ -0,0 +1,24 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Sequencer <liujiuyang1994 at gmail.com>
+
+pkgname=python-schemdraw
+pkgver=0.4.0
+pkgrel=2
+pkgdesc="Electrical circuit schematic drawing."
+url="https://bitbucket.org/cdelker/schemdraw"
+license=('BSD')
+arch=('any')
+depends=('python-numpy' 'python-matplotlib')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::$url/downloads/SchemDraw-$pkgver.tar.gz")
+sha512sums=('a43f2e753a50fbeb2d8692060ec30a442a6a0083ca9942eff48dec2a53a00b13c6901f8e119e339777a72c77cea411b8c75ede626d8d5757221afb93843bec65')
+
+build() {
+ cd SchemDraw-$pkgver
+ python setup.py build
+}
+
+package() {
+ cd SchemDraw-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list