Date: Thursday, April 6, 2023 @ 03:24:09
  Author: felixonmars
Revision: 1438223

archrelease: copy trunk to community-staging-any

Added:
  python-botocore/repos/community-staging-any/PKGBUILD
    (from rev 1438221, python-botocore/trunk/PKGBUILD)
  python-botocore/repos/community-staging-any/tests-keep-env.diff
    (from rev 1438221, python-botocore/trunk/tests-keep-env.diff)
Deleted:
  python-botocore/repos/community-staging-any/PKGBUILD
  python-botocore/repos/community-staging-any/tests-keep-env.diff

---------------------+
 PKGBUILD            |  108 +++++++++++++++++++++++++-------------------------
 tests-keep-env.diff |   30 ++++++-------
 2 files changed, 69 insertions(+), 69 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-06 03:24:05 UTC (rev 1438222)
+++ PKGBUILD    2023-04-06 03:24:09 UTC (rev 1438223)
@@ -1,54 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <[email protected]>
-# Contributor: Jonathan Steel <jsteel at archlinux.org>
-# Contributor: Chris Severance aur.severach AatT spamgourmet.com
-# Contributor: Ainola
-# Contributor: Chris Fordham
-
-pkgname=python-botocore
-# UPDATE_BLOCKED: newer python-botocore will likely break python-aiobotocore
-pkgver=1.29.89
-pkgrel=2
-pkgdesc='A low-level interface to a growing number of Amazon Web Services'
-arch=('any')
-url="https://github.com/boto/botocore";
-license=('Apache')
-depends=('python' 'python-certifi' 'python-dateutil' 'python-jmespath' 
'python-urllib3')
-makedepends=('python-setuptools' 'python-awscrt')
-# Tests need the 'ps' binary
-checkdepends=('python-pytest' 'python-pytest-xdist' 'python-jsonschema' 
'procps-ng')
-optdepends=(
-  'python-awscrt'
-)
-source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz
-        tests-keep-env.diff)
-sha256sums=('a6a0cef87a99538c5651f3d188a422f8c4788e1d2c000e863ff89f8b2ca6b474'
-            '15c588d3f4cfcc0ef26fc4ff367eb6dc12dc2f303e299cbe397288089ee52a11')
-
-prepare() {
-  cd botocore-$pkgver
-  # https://github.com/boto/botocore/pull/2791
-  patch -Np1 -i ../tests-keep-env.diff
-}
-
-build() {
-  cd botocore-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd botocore-$pkgver
-
-  export AWS_SECRET_ACCESS_KEY=fake_key
-  export AWS_ACCESS_KEY_ID=fake_id
-
-  export PYTHONPATH="$PWD"
-
-  # Many integration tests need real credentials
-  PYTHONDONTWRITEBYTECODE=1 pytest tests -n auto --ignore=tests/integration
-}
-
-package() {
-  cd botocore-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-botocore/repos/community-staging-any/PKGBUILD (from rev 1438221, 
python-botocore/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-04-06 03:24:09 UTC (rev 1438223)
@@ -0,0 +1,54 @@
+# Maintainer: Chih-Hsuan Yen <[email protected]>
+# Contributor: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: Chris Severance aur.severach AatT spamgourmet.com
+# Contributor: Ainola
+# Contributor: Chris Fordham
+
+pkgname=python-botocore
+# UPDATE_BLOCKED: newer python-botocore will likely break python-aiobotocore
+pkgver=1.29.89
+pkgrel=3
+pkgdesc='A low-level interface to a growing number of Amazon Web Services'
+arch=('any')
+url="https://github.com/boto/botocore";
+license=('Apache')
+depends=('python' 'python-certifi' 'python-dateutil' 'python-jmespath' 
'python-urllib3')
+makedepends=('python-setuptools' 'python-awscrt')
+# Tests need the 'ps' binary
+checkdepends=('python-pytest' 'python-pytest-xdist' 'python-jsonschema' 
'procps-ng')
+optdepends=(
+  'python-awscrt'
+)
+source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz
+        tests-keep-env.diff)
+sha256sums=('a6a0cef87a99538c5651f3d188a422f8c4788e1d2c000e863ff89f8b2ca6b474'
+            '15c588d3f4cfcc0ef26fc4ff367eb6dc12dc2f303e299cbe397288089ee52a11')
+
+prepare() {
+  cd botocore-$pkgver
+  # https://github.com/boto/botocore/pull/2791
+  patch -Np1 -i ../tests-keep-env.diff
+}
+
+build() {
+  cd botocore-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd botocore-$pkgver
+
+  export AWS_SECRET_ACCESS_KEY=fake_key
+  export AWS_ACCESS_KEY_ID=fake_id
+
+  export PYTHONPATH="$PWD"
+
+  # Many integration tests need real credentials
+  PYTHONDONTWRITEBYTECODE=1 pytest tests -n auto --ignore=tests/integration
+}
+
+package() {
+  cd botocore-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Deleted: tests-keep-env.diff
===================================================================
--- tests-keep-env.diff 2023-04-06 03:24:05 UTC (rev 1438222)
+++ tests-keep-env.diff 2023-04-06 03:24:09 UTC (rev 1438223)
@@ -1,15 +0,0 @@
---- a/tests/__init__.py        2022-10-17 14:59:15.734686304 +0800
-+++ b/tests/__init__.py        2022-10-17 14:59:20.814593222 +0800
-@@ -165,9 +165,10 @@
- 
-     def setUp(self):
-         self.driver = ClientDriver()
--        env = None
-+        env = os.environ.copy()
-         if self.INJECT_DUMMY_CREDS:
--            env = {'AWS_ACCESS_KEY_ID': 'foo', 'AWS_SECRET_ACCESS_KEY': 'bar'}
-+            env['AWS_ACCESS_KEY_ID'] = 'foo'
-+            env['AWS_SECRET_ACCESS_KEY'] = 'bar'
-         self.driver.start(env=env)
- 
-     def cmd(self, *args):

Copied: python-botocore/repos/community-staging-any/tests-keep-env.diff (from 
rev 1438221, python-botocore/trunk/tests-keep-env.diff)
===================================================================
--- tests-keep-env.diff                         (rev 0)
+++ tests-keep-env.diff 2023-04-06 03:24:09 UTC (rev 1438223)
@@ -0,0 +1,15 @@
+--- a/tests/__init__.py        2022-10-17 14:59:15.734686304 +0800
++++ b/tests/__init__.py        2022-10-17 14:59:20.814593222 +0800
+@@ -165,9 +165,10 @@
+ 
+     def setUp(self):
+         self.driver = ClientDriver()
+-        env = None
++        env = os.environ.copy()
+         if self.INJECT_DUMMY_CREDS:
+-            env = {'AWS_ACCESS_KEY_ID': 'foo', 'AWS_SECRET_ACCESS_KEY': 'bar'}
++            env['AWS_ACCESS_KEY_ID'] = 'foo'
++            env['AWS_SECRET_ACCESS_KEY'] = 'bar'
+         self.driver.start(env=env)
+ 
+     def cmd(self, *args):

Reply via email to