Guest User

Untitled

a guest
Mar 1st, 2021
127
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=python-geojson
  2. pkgver=2.5.0
  3. pkgrel=2
  4. pkgdesc="Python bindings and utilities for GeoJSON"
  5. url="https://github.com/frewsxcv/python-geojson"
  6. arch=('any')
  7. license=('BSD')
  8. depends=('python')
  9. makedepends=('python-setuptools')
  10. source=('python-geojson::git+https://github.com/hugovk/geojson.git#branch=add-3.9')
  11. sha256sums=('SKIP')
  12.  
  13. build() {
  14. cd $pkgname
  15. python setup.py build
  16. }
  17.  
  18. check() {
  19. cd $pkgname
  20. python setup.py test
  21. }
  22.  
  23. package() {
  24. cd $pkgname
  25. python setup.py install --root="$pkgdir" --optimize=1 --skip-build
  26. install -Dm644 LICENSE.rst "$pkgdir"/usr/share/licenses/python-geojson/LICENSE
  27. }
RAW Paste Data