FS#68632 - [podman-compose] bump to a more useful build
Attached to Project:
Community Packages
Opened by tinywrkb (tinywrkb) - Sunday, 15 November 2020, 13:05 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 04 May 2021, 06:39 GMT
Opened by tinywrkb (tinywrkb) - Sunday, 15 November 2020, 13:05 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 04 May 2021, 06:39 GMT
|
Details
The main developer has been ignoring requests for tagging a
new release and the volumes feature is missing from the
latest stable release. See related bug report:
https://github.com/containers/podman-compose/issues/13
I'm sure there are enough users like me who find the package not very useful without the volumes support so I suggest checking out a more updated commit. While not a common practice, packaging a more recent git commit in the Arch Linux official repos is not unheard of, pulseaudio is one example. ========================================================================== diff --git a/repos/community-any/PKGBUILD b/repos/community-any/PKGBUILD index 031a7cbc..ee69d2d3 100644 --- a/repos/community-any/PKGBUILD +++ b/repos/community-any/PKGBUILD @@ -1,25 +1,31 @@ # Maintainer: Filipe Laíns (FFY00) <lains@archlinux.org> pkgname=podman-compose -pkgver=0.1.5 +pkgver=0.1.5.r74.g5971f57 +_commit=5971f571307f2b3916fa659c6ef44d7d4d97cbb5 pkgrel=1 pkgdesc='A script to run docker-compose.yml using podman' arch=('any') url='https://github.com/containers/podman-compose' license=('GPL2') depends=('python' 'python-yaml' 'podman') -makedepends=('python-setuptools') -source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") -sha512sums=('3a5fd56b5394ada0ca465d2cac2249601bb72b20793106d625953e94f55ac19e65d7cd181bbc685fe5de0ac2a7169f0e5f4726e04ff927073eb656c9462c8606') +makedepends=('git' 'python-setuptools') +source=("git+$url#commit=$_commit") +sha512sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} build() { - cd $pkgname-$pkgver + cd $pkgname python setup.py build } package() { - cd $pkgname-$pkgver + cd $pkgname python setup.py install --root="$pkgdir" --optimize=1 --skip-build } |
This task depends upon
I prefer not to use VCS packages or AUR if I can avoid them.
Since opening this bug report I switched to my own packaging with a proper systemd service like the one I attached to #68633, and I also needed a workaround for a Podman regression https://github.com/containers/podman/issues/8559 .
As no one else seems to care about this to post here or vote I'm requesting a closure.