Giovanni Harting pushed to branch main at Arch Linux / Packaging / Packages / 
python-esphome-dashboard


Commits:
1aa74bc2 by Giovanni Harting at 2025-02-25T14:54:22+01:00
upgpkg: 20250212.0-2: fix license

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,10 +1,10 @@
 pkgbase = python-esphome-dashboard
        pkgdesc = ESPHome dashboard and ESPHome Web
        pkgver = 20250212.0
-       pkgrel = 1
+       pkgrel = 2
        url = https://github.com/esphome/dashboard
        arch = any
-       license = Apache-2.0
+       license = MIT
        makedepends = python-build
        makedepends = python-installer
        makedepends = python-wheel


=====================================
PKGBUILD
=====================================
@@ -3,11 +3,11 @@
 pkgname=python-esphome-dashboard
 _name=${pkgname#python-esphome-}
 pkgver=20250212.0
-pkgrel=1
+pkgrel=2
 pkgdesc='ESPHome dashboard and ESPHome Web'
 arch=(any)
 url="https://github.com/esphome/$_name";
-license=(Apache-2.0)
+license=(MIT)
 depends=(python)
 makedepends=(python-build python-installer python-wheel python-setuptools git 
npm)
 source=("git+$url.git#tag=$pkgver")
@@ -23,6 +23,7 @@ build() {
 package() {
   cd $_name
   python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }
 
 # vim:set ts=2 sw=2 et:



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-esphome-dashboard/-/commit/1aa74bc2ee121fe6d6eabd89fbc1d9a7c8683726

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-esphome-dashboard/-/commit/1aa74bc2ee121fe6d6eabd89fbc1d9a7c8683726
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to