Advertisement
cmsigler

python-solid-git-r476.bb341d7-1_PKGBUILD.patch

Jun 1st, 2020
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. --- PKGBUILD.orig 2020-06-01 16:40:44.042862714 -0400
  2. +++ PKGBUILD 2020-06-01 16:24:56.987529826 -0400
  3. @@ -2,15 +2,14 @@
  4. # based on python-solid package
  5.  
  6. pkgname=python-solid-git
  7. -pkgver=r324.a70eb06
  8. +pkgver=r476.bb341d7
  9. pkgrel=1
  10. pkgdesc="SolidPython: OpenSCAD for Python"
  11. arch=('any')
  12. license=('LGPL2.1')
  13. url="https://github.com/SolidCode/SolidPython"
  14. -makedepends=()
  15. -provides=(python-solid)
  16. -conflicts=(python-solid)
  17. +provides=("${pkgname%-git}")
  18. +conflicts=("${pkgname%-git}")
  19. depends=('python-euclid3' 'python-pypng' 'python-prettytable' 'python-regex')
  20. source=("git+https://github.com/SolidCode/SolidPython.git")
  21. md5sums=(SKIP)
  22. @@ -21,11 +20,11 @@
  23. }
  24.  
  25. build() {
  26. - cd ${srcdir}/SolidPython
  27. - python setup.py build
  28. + echo ""
  29. }
  30.  
  31. package() {
  32. cd ${srcdir}/SolidPython
  33. - python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
  34. + PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps solidpython
  35. + python -O -m compileall "${pkgdir}/usr/lib/python3.8/site-packages/solid"
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement