[arch-commits] Commit in pcbdraw/trunk (PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Thu Oct 21 19:16:44 UTC 2021


    Date: Thursday, October 21, 2021 @ 19:16:44
  Author: dvzrv
Revision: 1032034

upgpkg: pcbdraw 0.6.1-2: Rebuild to switch python-mistune dependency to python-mistune1.

Remove the hard build time dependency on versioneer (the project vendors versioneer).

Modified:
  pcbdraw/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-21 19:10:20 UTC (rev 1032033)
+++ PKGBUILD	2021-10-21 19:16:44 UTC (rev 1032034)
@@ -3,16 +3,23 @@
 _pkgname=PcbDraw
 pkgname=pcbdraw
 pkgver=0.6.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Convert your KiCAD board into a nice looking 2D drawing suitable for pinout diagrams'
 arch=('any')
 url='https://github.com/yaqwsx/PcbDraw'
 license=('MIT')
-depends=('python' 'kicad' 'python-numpy' 'python-lxml' 'python-mistune' 'python-pybars3' 'python-wand' 'python-yaml')
-makedepends=('python-setuptools')
+depends=('python' 'kicad' 'python-numpy' 'python-lxml' 'python-mistune1' 'python-pybars3' 'python-wand' 'python-yaml')
+makedepends=('python-setuptools' 'python-wheel')
 source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+# source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
 sha512sums=('bf149f030eb2b66bc7d4fcd3c93b8775dcd5ed49975a8f648c445f72496ba970704bcbe588975efe0607cbff6ebce41382aac0ac484f87eff853c4b5cfec9bcd')
 
+
+prepare() {
+  cd $_pkgname-$pkgver
+  sed -e '/"versioneer"/d' -i setup.py
+}
+
 build() {
   cd $_pkgname-$pkgver
 



More information about the arch-commits mailing list