blob: aea42de0b073ffe2248f4517a036a5ad1b6cd820 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# Maintainer: Joel Jensen <yobert@gmail.com>
# PKGBUILD generated by pipman
# Python package author: Megan Kuo <megankuo@google.com>
pkgname=python-keyrings.google-artifactregistry-auth
pkgver=1.1.2
pkgrel=1
pkgdesc="Keyring backend for Google Auth tokens"
arch=(any)
url="https://github.com/GoogleCloudPlatform/artifact-registry-python-tools"
license=()
makedepends=("python" "python-pip")
build() {
pip install --no-deps --target="keyrings.google-artifactregistry-auth" keyrings.google-artifactregistry-auth==1.1.2
}
package() {
sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
mkdir -p $pkgdir/"$sitepackages"
cp -r $srcdir/keyrings.google-artifactregistry-auth/* $pkgdir/"$sitepackages"
}
|