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

Felix Yan felixonmars at archlinux.org
Wed Feb 12 16:56:01 UTC 2020


    Date: Wednesday, February 12, 2020 @ 16:56:01
  Author: felixonmars
Revision: 569504

archrelease: copy trunk to community-testing-any

Added:
  python-schemdraw/repos/community-testing-any/
  python-schemdraw/repos/community-testing-any/PKGBUILD
    (from rev 569500, python-schemdraw/trunk/PKGBUILD)

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

Copied: python-schemdraw/repos/community-testing-any/PKGBUILD (from rev 569500, python-schemdraw/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2020-02-12 16:56:01 UTC (rev 569504)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Sequencer <liujiuyang1994 at gmail.com>
+
+pkgname=python-schemdraw
+pkgver=0.6.0
+pkgrel=1
+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::https://bitbucket.org/cdelker/schemdraw/get/$pkgver.tar.gz")
+sha512sums=('4e22f33fc86b7b5d34049605b31ef9cf9cb8bc6fc50eef4bb0f769a106320b1b2fbda00188ab64c20433edcef37aeb67415fde5bcca983f07a95e8c09fe35d26')
+
+prepare() {
+  mv cdelker-schemdraw-* schemdraw-$pkgver
+}
+
+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