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

Filipe Laíns ffy00 at archlinux.org
Sat Dec 19 14:19:23 UTC 2020


    Date: Saturday, December 19, 2020 @ 14:19:22
  Author: ffy00
Revision: 779970

add missing license_templates (3.0.0-3)

dephell does not properly convert to a setup.py :/

Modified:
  python-flit/trunk/PKGBUILD

----------+
 PKGBUILD |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-19 14:16:16 UTC (rev 779969)
+++ PKGBUILD	2020-12-19 14:19:22 UTC (rev 779970)
@@ -4,7 +4,7 @@
 pkgbase=python-$_pkgname
 pkgname=($pkgbase{,-core})
 pkgver=3.0.0
-pkgrel=2
+pkgrel=3
 pkgdesc='Simplified packaging of Python modules'
 arch=('any')
 url='https://github.com/takluyver/flit'
@@ -51,6 +51,7 @@
   cd $_pkgname-$pkgver
 
   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  cp -a flit/license_templates "$pkgdir"/usr/lib/python3.9/site-packages/flit/
 
   install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }



More information about the arch-commits mailing list