summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Denhartog2020-01-23 20:03:18 -0800
committerBenjamin Denhartog2020-01-23 20:41:46 -0800
commitb2e36916ff7ff0457aebc820dbffbc03a60d2d4e (patch)
treeaa1c1b2b2a46b9b411bf52838982d6d0fb2c9bbc
parent2c3b78123668f8f32b5a64181550eb702a5303f9 (diff)
downloadaur-b2e36916ff7ff0457aebc820dbffbc03a60d2d4e.tar.gz
chore(google-cloud-sdk): remove __pycache__ directories containing interpreter-compiled bytecode
These directories are created as a result of executing the bootstrap script and should not be included in the package.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2bd4ad0977ee..e77988d2044a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = google-cloud-sdk
pkgdesc = A set of command-line tools for the Google Cloud Platform. Includes gcloud (with beta and alpha commands), gsutil, and bq.
pkgver = 276.0.0
- pkgrel = 5
+ pkgrel = 6
url = https://cloud.google.com/sdk/
arch = x86_64
license = Apache
diff --git a/PKGBUILD b/PKGBUILD
index 4b26571249a9..dde8826547e9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgname="google-cloud-sdk"
pkgver=276.0.0
-pkgrel=5
+pkgrel=6
pkgdesc="A set of command-line tools for the Google Cloud Platform. Includes gcloud (with beta and alpha commands), gsutil, and bq."
url="https://cloud.google.com/sdk/"
license=("Apache")
@@ -60,6 +60,7 @@ package() {
echo "Cleaning up artifacts of the bootstrap script"
rm -rf "${pkgdir}/opt/${pkgname}/.install/.backup"
mkdir "${pkgdir}/opt/${pkgname}/.install/.backup"
+ find $pkgdir -name '__pycache__' -type d -exec rm -rf {} +
echo "Setting up profile environment variables"
install -Dm755 "${srcdir}/${source[1]}" \