blob: f9abd953e116327a2c8d41cebed1861a93a15e0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: dreieck (https://aur.archlinux.org/account/dreieck)
_depends="python>=3.2"
pkgname="python-argparse-shim"
pkgver=3.12.3
pkgrel=1
pkgdesc="Explicitly provides the dependency 'python-argparse', which is part of 'python'. The package 'python-argparse' must not be installed, but some packages depend on it, so this is a workaround. See https://bugs.archlinux.org/task/78484."
arch=(
'any'
)
url="https://www.python.org"
license=("custom: Public Domain.")
depends=(
"${_depends}"
)
makedepends=()
checkdepends=()
provides=(
"python-argparse=${pkgver}"
)
replaces=(
"python-argparse"
)
conflicts=(
"python-argparse"
)
replaces=()
source=(
'license-metapackage-pd.txt'
)
sha256sums=(
'af68dd29515606a94237214e4c33b0e3f4f2408ed92df3674a043bf2fa2c0078'
)
pkgver() {
pacman -Q "${_depends%%>*}" | cut -d ' ' -f 2 | sed -E 's|-.*||'
}
package() {
install -D -v -m644 "${srcdir}/license-metapackage-pd.txt" "${pkgdir}/usr/share/licenses/${pkgname}/copying.public-domain.txt"
}
|