Date: Monday, April 10, 2023 @ 11:38:28
  Author: felixonmars
Revision: 1444077

archrelease: copy trunk to community-staging-any

Added:
  python-tzdata/repos/community-staging-any/PKGBUILD
    (from rev 1444075, python-tzdata/trunk/PKGBUILD)
Deleted:
  python-tzdata/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   72 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 36 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-10 11:38:28 UTC (rev 1444076)
+++ PKGBUILD    2023-04-10 11:38:28 UTC (rev 1444077)
@@ -1,36 +0,0 @@
-# Maintainer: Daniel M. Capella <[email protected]>
-
-_name=tzdata
-pkgname=python-tzdata
-pkgver=2023.3
-pkgrel=2
-pkgdesc='Provider of IANA time zone data'
-arch=('any')
-url=https://github.com/python/tzdata
-license=('Apache')
-depends=('python')
-makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
-checkdepends=('python-pytest' 'python-pytest-subtests')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
-sha256sums=('11ef1e08e54acb0d4f95bdb1be05da659673de4acbd21bf9c69e94cc5e907a3a')
-b2sums=('2661ae05dba922fb92eeaedb77dbcd54ef5cc0623a8f3b81bd11c920c382056325211c22417035efcd90df442f69d56ea02af08a1d16fb0b307e9fa75499ee06')
-
-build() {
-  cd $_name-$pkgver
-  python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
-  cd $_name-$pkgver
-  python -m venv --system-site-packages test-env
-  test-env/bin/python -m installer dist/*.whl
-  test-env/bin/python -m pytest
-}
-
-package() {
-  cd $_name-$pkgver
-  python -m installer --destdir="$pkgdir" dist/*.whl
-
-  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
-  ln -s /etc/localtime "$pkgdir/$site_packages"/tzdata/zoneinfo/localtime
-}

Copied: python-tzdata/repos/community-staging-any/PKGBUILD (from rev 1444075, 
python-tzdata/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-04-10 11:38:28 UTC (rev 1444077)
@@ -0,0 +1,36 @@
+# Maintainer: Daniel M. Capella <[email protected]>
+
+_name=tzdata
+pkgname=python-tzdata
+pkgver=2023.3
+pkgrel=3
+pkgdesc='Provider of IANA time zone data'
+arch=('any')
+url=https://github.com/python/tzdata
+license=('Apache')
+depends=('python')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
+checkdepends=('python-pytest' 'python-pytest-subtests')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
+sha256sums=('11ef1e08e54acb0d4f95bdb1be05da659673de4acbd21bf9c69e94cc5e907a3a')
+b2sums=('2661ae05dba922fb92eeaedb77dbcd54ef5cc0623a8f3b81bd11c920c382056325211c22417035efcd90df442f69d56ea02af08a1d16fb0b307e9fa75499ee06')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd $_name-$pkgver
+  python -m venv --system-site-packages test-env
+  test-env/bin/python -m installer dist/*.whl
+  test-env/bin/python -m pytest
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  ln -s /etc/localtime "$pkgdir/$site_packages"/tzdata/zoneinfo/localtime
+}

Reply via email to