David Runge pushed to branch main at Arch Linux / Packaging / Packages / 
python-notify2


Commits:
9c5025ff by David Runge at 2024-04-04T10:52:56+02:00
Remove unnecessary quotes and curly braces

Signed-off-by: David Runge <dv...@archlinux.org>

- - - - -
59d751ce by David Runge at 2024-04-04T10:53:24+02:00
Use bash arrays with one entry per line for easier handling

Signed-off-by: David Runge <dv...@archlinux.org>

- - - - -
e0cacdd7 by David Runge at 2024-04-04T10:54:21+02:00
Add note about why we are using sdist tarball

Signed-off-by: David Runge <dv...@archlinux.org>

- - - - -
69f9aa56 by David Runge at 2024-04-04T10:54:52+02:00
upgpkg: 0.3.1-10: Rebuild against Python 3.12

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = python-notify2
        pkgdesc = Python interface to DBus notifications
        pkgver = 0.3.1
-       pkgrel = 9
+       pkgrel = 10
        url = https://bitbucket.org/takluyver/pynotify2
        arch = any
        license = BSD-2-Clause


=====================================
PKGBUILD
=====================================
@@ -3,14 +3,23 @@
 _name=notify2
 pkgname=python-notify2
 pkgver=0.3.1
-pkgrel=9
+pkgrel=10
 pkgdesc="Python interface to DBus notifications"
-arch=('any')
+arch=(any)
 url="https://bitbucket.org/takluyver/pynotify2";
-license=('BSD-2-Clause')
-depends=('python' 'python-dbus')
-makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";)
+license=(BSD-2-Clause)
+depends=(
+  python
+  python-dbus
+)
+makedepends=(
+  python-build
+  python-installer
+  python-setuptools
+  python-wheel
+)
+# NOTE: upstream is abandonware, there are no tags, only the sdist tarballs on 
PyPI... :(
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
 
sha512sums=('0b69a64e0a7e4955ee767c975db92c5c60d28c0e54f77498cfb98390771a8f536631fc34e42b5c46c138dfa1054b5516a0809b8e3b0cb9237a39825ddb827109')
 
b2sums=('649df1934d1fffb97dabbf2f483204c55427fbede851840d642da2e4e62a9bda9d49670e60f5b2cda36b62ee47b7d0cd861d757d338867547dce3c7d61ddf7b4')
 
@@ -23,6 +32,6 @@ build() {
 package() {
   cd $_name-$pkgver
   python -m installer --destdir="$pkgdir" dist/*.whl
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -vDm 644 examples/* -t "${pkgdir}/usr/share/doc/${pkgname}/examples"
+  install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+  install -vDm 644 examples/* -t "$pkgdir/usr/share/doc/$pkgname/examples"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-notify2/-/compare/96d30139b9ea6bd9cfe14cda15502b5b06767b7d...69f9aa56280a982b943eb395721b3b4c53b91ce7

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-notify2/-/compare/96d30139b9ea6bd9cfe14cda15502b5b06767b7d...69f9aa56280a982b943eb395721b3b4c53b91ce7
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to