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

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 17:13:14 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:13:13
  Author: foutrelis
Revision: 752357

archrelease: copy trunk to community-staging-any

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

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

Copied: python-schemdraw/repos/community-staging-any/PKGBUILD (from rev 752356, python-schemdraw/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 17:13:13 UTC (rev 752357)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Sequencer <liujiuyang1994 at gmail.com>
+
+pkgname=python-schemdraw
+pkgver=0.8
+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::https://bitbucket.org/cdelker/schemdraw/get/$pkgver.tar.gz")
+sha512sums=('2b467a8388b6e50a12b648a0caf1890f2f4ff1db1507d5518c4931c9fc119c234004302513c7b3c9527ddb9a3457d3ae77903ac88fdd5c8dc85d71c077f36895')
+
+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