[arch-commits] Commit in podman-compose/trunk (PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Tue Dec 14 17:34:02 UTC 2021


    Date: Tuesday, December 14, 2021 @ 17:34:02
  Author: dvzrv
Revision: 1072802

upgpkg: podman-compose 0.1.10-1: Upgrade to 0.1.10.

Add python-dotenv as new dependency.
Simplify installation in package() to adhere to python package guidelines.
Add docs.
Simplify quoting.
Update maintainer info.

Modified:
  podman-compose/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-14 17:32:05 UTC (rev 1072801)
+++ PKGBUILD	2021-12-14 17:34:02 UTC (rev 1072802)
@@ -1,16 +1,18 @@
 # Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Maintainer: David Runge <dvzrv at archlinux.org>
 
 pkgname=podman-compose
-pkgver=0.1.5
-pkgrel=3
+pkgver=0.1.10
+pkgrel=1
 pkgdesc='A script to run docker-compose.yml using podman'
-arch=('any')
+arch=(any)
 url='https://github.com/containers/podman-compose'
-license=('GPL2')
-depends=('python' 'python-yaml' 'podman')
-makedepends=('python-setuptools')
+license=(GPL2)
+depends=(podman python-dotenv python-yaml)
+makedepends=(python-setuptools)
 source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('3a5fd56b5394ada0ca465d2cac2249601bb72b20793106d625953e94f55ac19e65d7cd181bbc685fe5de0ac2a7169f0e5f4726e04ff927073eb656c9462c8606')
+sha512sums=('6ccd88ba532b85bddf87b1f99011ab16321918ce9f5f8e44e4163781acd7099fd2cc5d8d6df280b858275bed1ff3bf23ea35bae7582994db079601962bd3ad5a')
+b2sums=('475e24e0825310d02e5dffbb02438384f54d22ccb8371c0320f16407f6cfd2625c3d404ff5f87d5d8b123542b386ab2f9b03efafb266b234fd5a1777df590990')
 
 build() {
   cd $pkgname-$pkgver
@@ -21,7 +23,9 @@
 package() {
   cd $pkgname-$pkgver
 
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  python setup.py install --root="$pkgdir" --optimize=1
+  find examples -type f -exec install -vDm 644 {} "${pkgdir}/usr/share/doc/${pkgname}/"{} \;
+  install -vDm 644 {README.md,docs/*} -t "${pkgdir}/usr/share/doc/${pkgname}/"
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list