Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / python-schemdraw
Commits: aaf0ec79 by Felix Yan at 2026-03-04T02:50:08+08:00 upgpkg: 0.17-1 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,16 +1,17 @@ pkgbase = python-schemdraw - pkgdesc = Electrical circuit schematic drawing. - pkgver = 0.16 - pkgrel = 5 - url = https://bitbucket.org/cdelker/schemdraw + pkgdesc = Electrical circuit schematic drawing + pkgver = 0.17 + pkgrel = 1 + url = https://schemdraw.readthedocs.io arch = any - license = BSD + license = MIT checkdepends = python-pytest checkdepends = python-nbval checkdepends = python-matplotlib checkdepends = python-ziafont checkdepends = python-ziamath checkdepends = python-latex2mathml + makedepends = git makedepends = python-build makedepends = python-installer makedepends = python-wheel @@ -20,7 +21,7 @@ pkgbase = python-schemdraw optdepends = python-ziafont: for svg backend optdepends = python-ziamath: for svg backend optdepends = python-latex2mathml: for svg backend - source = python-schemdraw-0.16.tar.bz2::https://bitbucket.org/cdelker/schemdraw/get/0.16.tar.bz2 - sha512sums = d8f8f0547cbc2e6f32cac80ae522a91a243a903f7cc0d253e677efdf07e9f38bd0f0ad57483974d9ce362c1190f07f7de142a7522b52219d600eef90056a48ba + source = git+https://github.com/cdelker/schemdraw.git#tag=0.17 + sha512sums = dab54e0333b2feb279fdeab81d07f8cb8d6194885849b769a2d28c760f8b59ed238bb298b0c24b8657c067831d41c84cae347101210eb7df8863c3d19fe741bd pkgname = python-schemdraw ===================================== PKGBUILD ===================================== @@ -2,38 +2,34 @@ # Contributor: Sequencer <[email protected]> pkgname=python-schemdraw -pkgver=0.16 -pkgrel=5 -pkgdesc="Electrical circuit schematic drawing." -url="https://bitbucket.org/cdelker/schemdraw" -license=('BSD') +pkgver=0.17 +pkgrel=1 +pkgdesc="Electrical circuit schematic drawing" +url="https://schemdraw.readthedocs.io" +license=('MIT') arch=('any') depends=('python') optdepends=('python-matplotlib: for matplotlib backend' 'python-ziafont: for svg backend' 'python-ziamath: for svg backend' 'python-latex2mathml: for svg backend') -makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools') +makedepends=('git' 'python-build' 'python-installer' 'python-wheel' 'python-setuptools') checkdepends=('python-pytest' 'python-nbval' 'python-matplotlib' 'python-ziafont' 'python-ziamath' 'python-latex2mathml') -source=("$pkgname-$pkgver.tar.bz2::https://bitbucket.org/cdelker/schemdraw/get/$pkgver.tar.bz2") -sha512sums=('d8f8f0547cbc2e6f32cac80ae522a91a243a903f7cc0d253e677efdf07e9f38bd0f0ad57483974d9ce362c1190f07f7de142a7522b52219d600eef90056a48ba') - -prepare() { - mv cdelker-schemdraw-* schemdraw-$pkgver -} +source=("git+https://github.com/cdelker/schemdraw.git#tag=$pkgver") +sha512sums=('dab54e0333b2feb279fdeab81d07f8cb8d6194885849b769a2d28c760f8b59ed238bb298b0c24b8657c067831d41c84cae347101210eb7df8863c3d19fe741bd') build() { - cd schemdraw-$pkgver + cd schemdraw python -m build --wheel --no-isolation } check() { - cd schemdraw-$pkgver + cd schemdraw PYTHONPATH="$PWD/build/lib" pytest --nbval-lax } package() { - cd schemdraw-$pkgver + cd schemdraw python -m installer --destdir="$pkgdir" dist/*.whl } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-schemdraw/-/commit/aaf0ec795cbaf2d68e7c48ec890f31dcfec13652 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-schemdraw/-/commit/aaf0ec795cbaf2d68e7c48ec890f31dcfec13652 You're receiving this email because of your account on gitlab.archlinux.org.
