[arch-commits] Commit in python-pg8000/repos/community-any (PKGBUILD PKGBUILD)
Date: Monday, May 23, 2022 @ 03:34:38 Author: yan12125 Revision: 1210087 archrelease: copy trunk to community-any Added: python-pg8000/repos/community-any/PKGBUILD (from rev 1210086, python-pg8000/trunk/PKGBUILD) Deleted: python-pg8000/repos/community-any/PKGBUILD --+ PKGBUILD | 148 ++--- 1 file changed, 74 insertions(+), 74 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-05-23 03:34:28 UTC (rev 1210086) +++ PKGBUILD2022-05-23 03:34:38 UTC (rev 1210087) @@ -1,74 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: quomoow - -pkgname=python-pg8000 -# https://github.com/tlocke/pg8000#release-notes -pkgver=1.29.0 -pkgrel=1 -pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" -arch=(any) -url='https://github.com/tlocke/pg8000' -license=(BSD) -makedepends=(python-setuptools python-build python-installer python-versioningit python-wheel) -checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark - python-pytz postgresql) -depends=(python python-scramp) -source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) -sha256sums=('5b73f5516190a7a7537a32d3c3abb69daae41bda273b930296e3a5bbdd1cd47d' -'SKIP') -validpgpkeys=( - 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke -) - -build() { - cd pg8000-$pkgver - python -m build --wheel --no-isolation -} - -check() { - cd pg8000-$pkgver - - export PGDATA="$srcdir/postgres-testdata" - export PGHOST=127.0.0.1 - export PGPORT=$((49152+$RANDOM%1)) - - # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing - initdb --username=postgres --auth=trust - openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" - cat <> "$PGDATA/postgresql.conf" -ssl = on -ssl_cert_file = 'self-signed.crt' -ssl_key_file = 'self-signed.key' -password_encryption = 'scram-sha-256' -EOF - - pg_ctl start -o "-k '' -h $PGHOST -p $PGPORT" -l "$srcdir/postgresql.log" - # Change the password for postgres after password_encryption is specified, so that the role has a valid SCRAM secret - psql -U postgres -c " -CREATE EXTENSION hstore; -ALTER ROLE postgres PASSWORD 'pw'; - " - - # should overwrite pg_hba.conf, or unexpected matches may happen against existing entries - cat < "$PGDATA/pg_hba.conf" -hostpg8000_md5 all 127.0.0.1/32md5 -hostpg8000_gss all 127.0.0.1/32gss -hostpg8000_password all 127.0.0.1/32password -hostpg8000_scram_sha_256 all127.0.0.1/32scram-sha-256 -hostall all 127.0.0.1/32trust -EOF - pg_ctl reload - # Upstream tests require LANG=en_GB.UTF-8 or LANG=C.UTF-8 :/ - # https://github.com/tlocke/pg8000/blob/1.19.2/test/native/test_typeconversion.py#L455-L458 - # test_readme: skipped as many tests need a postgresql instance listening on the default port - # localhost:5432, which may cause conflicts until devtools supports a separate network namespace [1] - # [1] https://gitlab.archlinux.org/archlinux/devtools/-/issues/72 - PYTHONPATH="$PWD" LANG=C.UTF-8 pytest test -k 'not test_readme' - pg_ctl stop -} - -package() { - cd pg8000-$pkgver - python -m installer --destdir="$pkgdir" dist/*.whl - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: python-pg8000/repos/community-any/PKGBUILD (from rev 1210086, python-pg8000/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-05-23 03:34:38 UTC (rev 1210087) @@ -0,0 +1,74 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: quomoow + +pkgname=python-pg8000 +# https://github.com/tlocke/pg8000#release-notes +pkgver=1.29.1 +pkgrel=1 +pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" +arch=(any) +url='https://github.com/tlocke/pg8000' +license=(BSD) +makedepends=(python-setuptools python-build python-installer python-versioningit python-wheel) +checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark + python-pytz postgresql) +depends=(python python-scramp) +source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) +sha256sums=('80b4f4de4b0254832b7948511e0dd46342d1c0446ccd4fdd892b63d02e4fbc7b' +'SKIP') +validpgpkeys=( + 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke +) + +build() { + cd pg8000-$pkgver + python -m build --wheel --no-isolation +} + +check() { + cd pg8000-$pkgver + + export PGDATA="$srcdir/postgres-testdata" + export PGHOST=127.0.0.1 + export
[arch-commits] Commit in python-pg8000/repos/community-any (PKGBUILD PKGBUILD)
Date: Sunday, May 22, 2022 @ 04:07:29 Author: yan12125 Revision: 1209966 archrelease: copy trunk to community-any Added: python-pg8000/repos/community-any/PKGBUILD (from rev 1209965, python-pg8000/trunk/PKGBUILD) Deleted: python-pg8000/repos/community-any/PKGBUILD --+ PKGBUILD | 145 +++-- 1 file changed, 74 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-05-22 04:07:14 UTC (rev 1209965) +++ PKGBUILD2022-05-22 04:07:29 UTC (rev 1209966) @@ -1,71 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: quomoow - -pkgname=python-pg8000 -# https://github.com/tlocke/pg8000#release-notes -pkgver=1.28.3 -pkgrel=1 -pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" -arch=(any) -url='https://github.com/tlocke/pg8000' -license=(BSD) -makedepends=(python-setuptools python-build python-installer python-versioningit python-wheel) -checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark - python-pytz postgresql) -depends=(python python-scramp) -source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) -sha256sums=('d61037b3f21f7fc7d5cfe4eea683789259e7ccb9eef5f7229cbc62f31ea6ba32' -'SKIP') -validpgpkeys=( - 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke -) - -build() { - cd pg8000-$pkgver - python -m build --wheel --no-isolation -} - -check() { - cd pg8000-$pkgver - - export PGDATA="$srcdir/postgres-testdata" - export PGHOST=127.0.0.1 - export PGPORT=$((49152+$RANDOM%1)) - - # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing - initdb --username=postgres --auth=trust - openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" - cat <> "$PGDATA/postgresql.conf" -ssl = on -ssl_cert_file = 'self-signed.crt' -ssl_key_file = 'self-signed.key' -password_encryption = 'scram-sha-256' -EOF - - pg_ctl start -o "-k '' -h $PGHOST -p $PGPORT" -l "$srcdir/postgresql.log" - # Change the password for postgres after password_encryption is specified, so that the role has a valid SCRAM secret - psql -U postgres -c " -CREATE EXTENSION hstore; -ALTER ROLE postgres PASSWORD 'pw'; - " - - # should overwrite pg_hba.conf, or unexpected matches may happen against existing entries - cat < "$PGDATA/pg_hba.conf" -hostpg8000_md5 all 127.0.0.1/32md5 -hostpg8000_gss all 127.0.0.1/32gss -hostpg8000_password all 127.0.0.1/32password -hostpg8000_scram_sha_256 all127.0.0.1/32scram-sha-256 -hostall all 127.0.0.1/32trust -EOF - pg_ctl reload - # Upstream tests require LANG=en_GB.UTF-8 or LANG=C.UTF-8 :/ - # https://github.com/tlocke/pg8000/blob/1.19.2/test/native/test_typeconversion.py#L455-L458 - PYTHONPATH="$PWD" LANG=C.UTF-8 pytest test - pg_ctl stop -} - -package() { - cd pg8000-$pkgver - python -m installer --destdir="$pkgdir" dist/*.whl - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: python-pg8000/repos/community-any/PKGBUILD (from rev 1209965, python-pg8000/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-05-22 04:07:29 UTC (rev 1209966) @@ -0,0 +1,74 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: quomoow + +pkgname=python-pg8000 +# https://github.com/tlocke/pg8000#release-notes +pkgver=1.29.0 +pkgrel=1 +pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" +arch=(any) +url='https://github.com/tlocke/pg8000' +license=(BSD) +makedepends=(python-setuptools python-build python-installer python-versioningit python-wheel) +checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark + python-pytz postgresql) +depends=(python python-scramp) +source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) +sha256sums=('5b73f5516190a7a7537a32d3c3abb69daae41bda273b930296e3a5bbdd1cd47d' +'SKIP') +validpgpkeys=( + 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke +) + +build() { + cd pg8000-$pkgver + python -m build --wheel --no-isolation +} + +check() { + cd pg8000-$pkgver + + export PGDATA="$srcdir/postgres-testdata" + export PGHOST=127.0.0.1 + export PGPORT=$((49152+$RANDOM%1)) + + # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing + initdb --username=postgres --auth=trust + openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out
[arch-commits] Commit in python-pg8000/repos/community-any (PKGBUILD PKGBUILD)
Date: Wednesday, May 18, 2022 @ 11:41:12 Author: yan12125 Revision: 1207781 archrelease: copy trunk to community-any Added: python-pg8000/repos/community-any/PKGBUILD (from rev 1207780, python-pg8000/trunk/PKGBUILD) Deleted: python-pg8000/repos/community-any/PKGBUILD --+ PKGBUILD | 142 ++--- 1 file changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-05-18 11:40:26 UTC (rev 1207780) +++ PKGBUILD2022-05-18 11:41:12 UTC (rev 1207781) @@ -1,71 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: quomoow - -pkgname=python-pg8000 -# https://github.com/tlocke/pg8000#release-notes -pkgver=1.28.1 -pkgrel=1 -pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" -arch=(any) -url='https://github.com/tlocke/pg8000' -license=(BSD) -makedepends=(python-setuptools) -checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark - python-pytz postgresql) -depends=(python python-scramp) -source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) -sha256sums=('e9e6fc1df557fa22c8b56850b0c03e6ea8c512fe57966dae155ae9ebd9c51546' -'SKIP') -validpgpkeys=( - 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke -) - -build() { - cd pg8000-$pkgver - python setup.py build -} - -check() { - cd pg8000-$pkgver - - export PGDATA="$srcdir/postgres-testdata" - export PGHOST=127.0.0.1 - export PGPORT=$((49152+$RANDOM%1)) - - # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing - initdb --username=postgres --auth=trust - openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" - cat <> "$PGDATA/postgresql.conf" -ssl = on -ssl_cert_file = 'self-signed.crt' -ssl_key_file = 'self-signed.key' -password_encryption = 'scram-sha-256' -EOF - - pg_ctl start -o "-k '' -h $PGHOST -p $PGPORT" -l "$srcdir/postgresql.log" - # Change the password for postgres after password_encryption is specified, so that the role has a valid SCRAM secret - psql -U postgres -c " -CREATE EXTENSION hstore; -ALTER ROLE postgres PASSWORD 'pw'; - " - - # should overwrite pg_hba.conf, or unexpected matches may happen against existing entries - cat < "$PGDATA/pg_hba.conf" -hostpg8000_md5 all 127.0.0.1/32md5 -hostpg8000_gss all 127.0.0.1/32gss -hostpg8000_password all 127.0.0.1/32password -hostpg8000_scram_sha_256 all127.0.0.1/32scram-sha-256 -hostall all 127.0.0.1/32trust -EOF - pg_ctl reload - # Upstream tests require LANG=en_GB.UTF-8 or LANG=C.UTF-8 :/ - # https://github.com/tlocke/pg8000/blob/1.19.2/test/native/test_typeconversion.py#L455-L458 - PYTHONPATH="$PWD" LANG=C.UTF-8 pytest test - pg_ctl stop -} - -package() { - cd pg8000-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: python-pg8000/repos/community-any/PKGBUILD (from rev 1207780, python-pg8000/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-05-18 11:41:12 UTC (rev 1207781) @@ -0,0 +1,71 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: quomoow + +pkgname=python-pg8000 +# https://github.com/tlocke/pg8000#release-notes +pkgver=1.28.3 +pkgrel=1 +pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" +arch=(any) +url='https://github.com/tlocke/pg8000' +license=(BSD) +makedepends=(python-setuptools python-build python-installer python-versioningit python-wheel) +checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark + python-pytz postgresql) +depends=(python python-scramp) +source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) +sha256sums=('d61037b3f21f7fc7d5cfe4eea683789259e7ccb9eef5f7229cbc62f31ea6ba32' +'SKIP') +validpgpkeys=( + 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke +) + +build() { + cd pg8000-$pkgver + python -m build --wheel --no-isolation +} + +check() { + cd pg8000-$pkgver + + export PGDATA="$srcdir/postgres-testdata" + export PGHOST=127.0.0.1 + export PGPORT=$((49152+$RANDOM%1)) + + # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing + initdb --username=postgres --auth=trust + openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" + cat <> "$PGDATA/postgresql.conf" +ssl = on
[arch-commits] Commit in python-pg8000/repos/community-any (PKGBUILD PKGBUILD)
Date: Tuesday, May 17, 2022 @ 18:10:31 Author: yan12125 Revision: 1207686 archrelease: copy trunk to community-any Added: python-pg8000/repos/community-any/PKGBUILD (from rev 1207685, python-pg8000/trunk/PKGBUILD) Deleted: python-pg8000/repos/community-any/PKGBUILD --+ PKGBUILD | 142 ++--- 1 file changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-05-17 18:10:19 UTC (rev 1207685) +++ PKGBUILD2022-05-17 18:10:31 UTC (rev 1207686) @@ -1,71 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: quomoow - -pkgname=python-pg8000 -# https://github.com/tlocke/pg8000#release-notes -pkgver=1.28.0 -pkgrel=1 -pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" -arch=(any) -url='https://github.com/tlocke/pg8000' -license=(BSD) -makedepends=(python-setuptools) -checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark - python-pytz postgresql) -depends=(python python-scramp) -source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) -sha256sums=('43513de3d4e378e73ac442a93906baa9d356245aa67aa7f61605c56e39a7f591' -'SKIP') -validpgpkeys=( - 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke -) - -build() { - cd pg8000-$pkgver - python setup.py build -} - -check() { - cd pg8000-$pkgver - - export PGDATA="$srcdir/postgres-testdata" - export PGHOST=127.0.0.1 - export PGPORT=$((49152+$RANDOM%1)) - - # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing - initdb --username=postgres --auth=trust - openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" - cat <> "$PGDATA/postgresql.conf" -ssl = on -ssl_cert_file = 'self-signed.crt' -ssl_key_file = 'self-signed.key' -password_encryption = 'scram-sha-256' -EOF - - pg_ctl start -o "-k '' -h $PGHOST -p $PGPORT" -l "$srcdir/postgresql.log" - # Change the password for postgres after password_encryption is specified, so that the role has a valid SCRAM secret - psql -U postgres -c " -CREATE EXTENSION hstore; -ALTER ROLE postgres PASSWORD 'pw'; - " - - # should overwrite pg_hba.conf, or unexpected matches may happen against existing entries - cat < "$PGDATA/pg_hba.conf" -hostpg8000_md5 all 127.0.0.1/32md5 -hostpg8000_gss all 127.0.0.1/32gss -hostpg8000_password all 127.0.0.1/32password -hostpg8000_scram_sha_256 all127.0.0.1/32scram-sha-256 -hostall all 127.0.0.1/32trust -EOF - pg_ctl reload - # Upstream tests require LANG=en_GB.UTF-8 or LANG=C.UTF-8 :/ - # https://github.com/tlocke/pg8000/blob/1.19.2/test/native/test_typeconversion.py#L455-L458 - PYTHONPATH="$PWD" LANG=C.UTF-8 pytest test - pg_ctl stop -} - -package() { - cd pg8000-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: python-pg8000/repos/community-any/PKGBUILD (from rev 1207685, python-pg8000/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-05-17 18:10:31 UTC (rev 1207686) @@ -0,0 +1,71 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: quomoow + +pkgname=python-pg8000 +# https://github.com/tlocke/pg8000#release-notes +pkgver=1.28.1 +pkgrel=1 +pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" +arch=(any) +url='https://github.com/tlocke/pg8000' +license=(BSD) +makedepends=(python-setuptools) +checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark + python-pytz postgresql) +depends=(python python-scramp) +source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) +sha256sums=('e9e6fc1df557fa22c8b56850b0c03e6ea8c512fe57966dae155ae9ebd9c51546' +'SKIP') +validpgpkeys=( + 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke +) + +build() { + cd pg8000-$pkgver + python setup.py build +} + +check() { + cd pg8000-$pkgver + + export PGDATA="$srcdir/postgres-testdata" + export PGHOST=127.0.0.1 + export PGPORT=$((49152+$RANDOM%1)) + + # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing + initdb --username=postgres --auth=trust + openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" + cat <> "$PGDATA/postgresql.conf" +ssl = on +ssl_cert_file = 'self-signed.crt' +ssl_key_file = 'self-signed.key' +password_encryption =
[arch-commits] Commit in python-pg8000/repos/community-any (PKGBUILD PKGBUILD)
Date: Tuesday, May 17, 2022 @ 12:15:50 Author: yan12125 Revision: 1207664 archrelease: copy trunk to community-any Added: python-pg8000/repos/community-any/PKGBUILD (from rev 1207663, python-pg8000/trunk/PKGBUILD) Deleted: python-pg8000/repos/community-any/PKGBUILD --+ PKGBUILD | 142 ++--- 1 file changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-05-17 12:15:38 UTC (rev 1207663) +++ PKGBUILD2022-05-17 12:15:50 UTC (rev 1207664) @@ -1,71 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: quomoow - -pkgname=python-pg8000 -# https://github.com/tlocke/pg8000#release-notes -pkgver=1.27.1 -pkgrel=1 -pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" -arch=(any) -url='https://github.com/tlocke/pg8000' -license=(BSD) -makedepends=(python-setuptools) -checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark - python-pytz postgresql) -depends=(python python-scramp) -source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) -sha256sums=('d6a5838348593344f20eb35ada472a772d32145826f2efe58dbe1b65ea99e890' -'SKIP') -validpgpkeys=( - 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke -) - -build() { - cd pg8000-$pkgver - python setup.py build -} - -check() { - cd pg8000-$pkgver - - export PGDATA="$srcdir/postgres-testdata" - export PGHOST=127.0.0.1 - export PGPORT=$((49152+$RANDOM%1)) - - # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing - initdb --username=postgres --auth=trust - openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" - cat <> "$PGDATA/postgresql.conf" -ssl = on -ssl_cert_file = 'self-signed.crt' -ssl_key_file = 'self-signed.key' -password_encryption = 'scram-sha-256' -EOF - - pg_ctl start -o "-k '' -h $PGHOST -p $PGPORT" -l "$srcdir/postgresql.log" - # Change the password for postgres after password_encryption is specified, so that the role has a valid SCRAM secret - psql -U postgres -c " -CREATE EXTENSION hstore; -ALTER ROLE postgres PASSWORD 'pw'; - " - - # should overwrite pg_hba.conf, or unexpected matches may happen against existing entries - cat < "$PGDATA/pg_hba.conf" -hostpg8000_md5 all 127.0.0.1/32md5 -hostpg8000_gss all 127.0.0.1/32gss -hostpg8000_password all 127.0.0.1/32password -hostpg8000_scram_sha_256 all127.0.0.1/32scram-sha-256 -hostall all 127.0.0.1/32trust -EOF - pg_ctl reload - # Upstream tests require LANG=en_GB.UTF-8 or LANG=C.UTF-8 :/ - # https://github.com/tlocke/pg8000/blob/1.19.2/test/native/test_typeconversion.py#L455-L458 - PYTHONPATH="$PWD" LANG=C.UTF-8 pytest test - pg_ctl stop -} - -package() { - cd pg8000-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: python-pg8000/repos/community-any/PKGBUILD (from rev 1207663, python-pg8000/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-05-17 12:15:50 UTC (rev 1207664) @@ -0,0 +1,71 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: quomoow + +pkgname=python-pg8000 +# https://github.com/tlocke/pg8000#release-notes +pkgver=1.28.0 +pkgrel=1 +pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" +arch=(any) +url='https://github.com/tlocke/pg8000' +license=(BSD) +makedepends=(python-setuptools) +checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark + python-pytz postgresql) +depends=(python python-scramp) +source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) +sha256sums=('43513de3d4e378e73ac442a93906baa9d356245aa67aa7f61605c56e39a7f591' +'SKIP') +validpgpkeys=( + 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke +) + +build() { + cd pg8000-$pkgver + python setup.py build +} + +check() { + cd pg8000-$pkgver + + export PGDATA="$srcdir/postgres-testdata" + export PGHOST=127.0.0.1 + export PGPORT=$((49152+$RANDOM%1)) + + # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing + initdb --username=postgres --auth=trust + openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" + cat <> "$PGDATA/postgresql.conf" +ssl = on +ssl_cert_file = 'self-signed.crt' +ssl_key_file = 'self-signed.key' +password_encryption =
[arch-commits] Commit in python-pg8000/repos/community-any (PKGBUILD PKGBUILD)
Date: Monday, May 16, 2022 @ 11:58:04 Author: yan12125 Revision: 1207537 archrelease: copy trunk to community-any Added: python-pg8000/repos/community-any/PKGBUILD (from rev 1207536, python-pg8000/trunk/PKGBUILD) Deleted: python-pg8000/repos/community-any/PKGBUILD --+ PKGBUILD | 142 ++--- 1 file changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-05-16 11:57:49 UTC (rev 1207536) +++ PKGBUILD2022-05-16 11:58:04 UTC (rev 1207537) @@ -1,71 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: quomoow - -pkgname=python-pg8000 -# https://github.com/tlocke/pg8000#release-notes -pkgver=1.26.1 -pkgrel=1 -pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" -arch=(any) -url='https://github.com/tlocke/pg8000' -license=(BSD) -makedepends=(python-setuptools) -checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark - python-pytz postgresql) -depends=(python python-scramp) -source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) -sha256sums=('ccd2b6fe190addd74c093a62be0730b9e99f3ea03aa0ef7ab95ed1b7ff69d257' -'SKIP') -validpgpkeys=( - 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke -) - -build() { - cd pg8000-$pkgver - python setup.py build -} - -check() { - cd pg8000-$pkgver - - export PGDATA="$srcdir/postgres-testdata" - export PGHOST=127.0.0.1 - export PGPORT=$((49152+$RANDOM%1)) - - # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing - initdb --username=postgres --auth=trust - openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" - cat <> "$PGDATA/postgresql.conf" -ssl = on -ssl_cert_file = 'self-signed.crt' -ssl_key_file = 'self-signed.key' -password_encryption = 'scram-sha-256' -EOF - - pg_ctl start -o "-k '' -h $PGHOST -p $PGPORT" -l "$srcdir/postgresql.log" - # Change the password for postgres after password_encryption is specified, so that the role has a valid SCRAM secret - psql -U postgres -c " -CREATE EXTENSION hstore; -ALTER ROLE postgres PASSWORD 'pw'; - " - - # should overwrite pg_hba.conf, or unexpected matches may happen against existing entries - cat < "$PGDATA/pg_hba.conf" -hostpg8000_md5 all 127.0.0.1/32md5 -hostpg8000_gss all 127.0.0.1/32gss -hostpg8000_password all 127.0.0.1/32password -hostpg8000_scram_sha_256 all127.0.0.1/32scram-sha-256 -hostall all 127.0.0.1/32trust -EOF - pg_ctl reload - # Upstream tests require LANG=en_GB.UTF-8 or LANG=C.UTF-8 :/ - # https://github.com/tlocke/pg8000/blob/1.19.2/test/native/test_typeconversion.py#L455-L458 - PYTHONPATH="$PWD" LANG=C.UTF-8 pytest test - pg_ctl stop -} - -package() { - cd pg8000-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: python-pg8000/repos/community-any/PKGBUILD (from rev 1207536, python-pg8000/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-05-16 11:58:04 UTC (rev 1207537) @@ -0,0 +1,71 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: quomoow + +pkgname=python-pg8000 +# https://github.com/tlocke/pg8000#release-notes +pkgver=1.27.1 +pkgrel=1 +pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" +arch=(any) +url='https://github.com/tlocke/pg8000' +license=(BSD) +makedepends=(python-setuptools) +checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark + python-pytz postgresql) +depends=(python python-scramp) +source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) +sha256sums=('d6a5838348593344f20eb35ada472a772d32145826f2efe58dbe1b65ea99e890' +'SKIP') +validpgpkeys=( + 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke +) + +build() { + cd pg8000-$pkgver + python setup.py build +} + +check() { + cd pg8000-$pkgver + + export PGDATA="$srcdir/postgres-testdata" + export PGHOST=127.0.0.1 + export PGPORT=$((49152+$RANDOM%1)) + + # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing + initdb --username=postgres --auth=trust + openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" + cat <> "$PGDATA/postgresql.conf" +ssl = on +ssl_cert_file = 'self-signed.crt' +ssl_key_file = 'self-signed.key' +password_encryption =
[arch-commits] Commit in python-pg8000/repos/community-any (PKGBUILD PKGBUILD)
Date: Saturday, April 23, 2022 @ 16:28:44 Author: yan12125 Revision: 1187652 archrelease: copy trunk to community-any Added: python-pg8000/repos/community-any/PKGBUILD (from rev 1187651, python-pg8000/trunk/PKGBUILD) Deleted: python-pg8000/repos/community-any/PKGBUILD --+ PKGBUILD | 149 + 1 file changed, 71 insertions(+), 78 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-04-23 16:28:28 UTC (rev 1187651) +++ PKGBUILD2022-04-23 16:28:44 UTC (rev 1187652) @@ -1,78 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: quomoow - -pkgname=python-pg8000 -# https://github.com/tlocke/pg8000#release-notes -pkgver=1.26.0 -pkgrel=1 -pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" -arch=(any) -url='https://github.com/tlocke/pg8000' -license=(BSD) -makedepends=(python-setuptools) -checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark - python-pytz postgresql) -depends=(python python-scramp) -source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc} - pg8000-104.patch::https://github.com/yan12125/pg8000/commit/ec7aad27eb49aae572067b13a886fb72682aea89.patch) -sha256sums=('9e25ea13a5b7fcc83b026051d7c6e4dcd5221e950ebe5393de715a3fea1527d3' -'SKIP' -'284bc6f784b7658889953e635eec2f581919b4653030a523d64962c60436ceee') -validpgpkeys=( - 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke -) - -prepare() { - cd pg8000-$pkgver - patch -Np1 -i ../pg8000-104.patch -} - -build() { - cd pg8000-$pkgver - python setup.py build -} - -check() { - cd pg8000-$pkgver - - export PGDATA="$srcdir/postgres-testdata" - export PGHOST=127.0.0.1 - export PGPORT=$((49152+$RANDOM%1)) - - # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing - initdb --username=postgres --auth=trust - openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" - cat <> "$PGDATA/postgresql.conf" -ssl = on -ssl_cert_file = 'self-signed.crt' -ssl_key_file = 'self-signed.key' -password_encryption = 'scram-sha-256' -EOF - - pg_ctl start -o "-k '' -h $PGHOST -p $PGPORT" -l "$srcdir/postgresql.log" - # Change the password for postgres after password_encryption is specified, so that the role has a valid SCRAM secret - psql -U postgres -c " -CREATE EXTENSION hstore; -ALTER ROLE postgres PASSWORD 'pw'; - " - - # should overwrite pg_hba.conf, or unexpected matches may happen against existing entries - cat < "$PGDATA/pg_hba.conf" -hostpg8000_md5 all 127.0.0.1/32md5 -hostpg8000_gss all 127.0.0.1/32gss -hostpg8000_password all 127.0.0.1/32password -hostpg8000_scram_sha_256 all127.0.0.1/32scram-sha-256 -hostall all 127.0.0.1/32trust -EOF - pg_ctl reload - # Upstream tests require LANG=en_GB.UTF-8 or LANG=C.UTF-8 :/ - # https://github.com/tlocke/pg8000/blob/1.19.2/test/native/test_typeconversion.py#L455-L458 - PYTHONPATH="$PWD" LANG=C.UTF-8 pytest test - pg_ctl stop -} - -package() { - cd pg8000-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: python-pg8000/repos/community-any/PKGBUILD (from rev 1187651, python-pg8000/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-04-23 16:28:44 UTC (rev 1187652) @@ -0,0 +1,71 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: quomoow + +pkgname=python-pg8000 +# https://github.com/tlocke/pg8000#release-notes +pkgver=1.26.1 +pkgrel=1 +pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" +arch=(any) +url='https://github.com/tlocke/pg8000' +license=(BSD) +makedepends=(python-setuptools) +checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark + python-pytz postgresql) +depends=(python python-scramp) +source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) +sha256sums=('ccd2b6fe190addd74c093a62be0730b9e99f3ea03aa0ef7ab95ed1b7ff69d257' +'SKIP') +validpgpkeys=( + 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke +) + +build() { + cd pg8000-$pkgver + python setup.py build +} + +check() { + cd pg8000-$pkgver + + export PGDATA="$srcdir/postgres-testdata" + export PGHOST=127.0.0.1 + export PGPORT=$((49152+$RANDOM%1)) + + # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing + initdb --username=postgres --auth=trust +
[arch-commits] Commit in python-pg8000/repos/community-any (PKGBUILD PKGBUILD)
Date: Friday, April 22, 2022 @ 07:49:39 Author: yan12125 Revision: 1187294 archrelease: copy trunk to community-any Added: python-pg8000/repos/community-any/PKGBUILD (from rev 1187293, python-pg8000/trunk/PKGBUILD) Deleted: python-pg8000/repos/community-any/PKGBUILD --+ PKGBUILD | 149 +++-- 1 file changed, 78 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-04-22 07:49:25 UTC (rev 1187293) +++ PKGBUILD2022-04-22 07:49:39 UTC (rev 1187294) @@ -1,71 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: quomoow - -pkgname=python-pg8000 -# https://github.com/tlocke/pg8000#release-notes -pkgver=1.24.2 -pkgrel=1 -pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" -arch=(any) -url='https://github.com/tlocke/pg8000' -license=(BSD) -makedepends=(python-setuptools) -checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark - python-pytz postgresql) -depends=(python python-scramp) -source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) -sha256sums=('ab7fc048a56fcac4d9c247b22a8356e608dd9a03d4835f1c87fba2e4f26284a5' -'SKIP') -validpgpkeys=( - 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke -) - -build() { - cd pg8000-$pkgver - python setup.py build -} - -check() { - cd pg8000-$pkgver - - export PGDATA="$srcdir/postgres-testdata" - export PGHOST=127.0.0.1 - export PGPORT=$((49152+$RANDOM%1)) - - # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing - initdb --username=postgres --auth=trust - openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" - cat <> "$PGDATA/postgresql.conf" -ssl = on -ssl_cert_file = 'self-signed.crt' -ssl_key_file = 'self-signed.key' -password_encryption = 'scram-sha-256' -EOF - - pg_ctl start -o "-k '' -h $PGHOST -p $PGPORT" -l "$srcdir/postgresql.log" - # Change the password for postgres after password_encryption is specified, so that the role has a valid SCRAM secret - psql -U postgres -c " -CREATE EXTENSION hstore; -ALTER ROLE postgres PASSWORD 'pw'; - " - - # should overwrite pg_hba.conf, or unexpected matches may happen against existing entries - cat < "$PGDATA/pg_hba.conf" -hostpg8000_md5 all 127.0.0.1/32md5 -hostpg8000_gss all 127.0.0.1/32gss -hostpg8000_password all 127.0.0.1/32password -hostpg8000_scram_sha_256 all127.0.0.1/32scram-sha-256 -hostall all 127.0.0.1/32trust -EOF - pg_ctl reload - # Upstream tests require LANG=en_GB.UTF-8 or LANG=C.UTF-8 :/ - # https://github.com/tlocke/pg8000/blob/1.19.2/test/native/test_typeconversion.py#L455-L458 - PYTHONPATH="$PWD" LANG=C.UTF-8 pytest test - pg_ctl stop -} - -package() { - cd pg8000-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: python-pg8000/repos/community-any/PKGBUILD (from rev 1187293, python-pg8000/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-04-22 07:49:39 UTC (rev 1187294) @@ -0,0 +1,78 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: quomoow + +pkgname=python-pg8000 +# https://github.com/tlocke/pg8000#release-notes +pkgver=1.26.0 +pkgrel=1 +pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" +arch=(any) +url='https://github.com/tlocke/pg8000' +license=(BSD) +makedepends=(python-setuptools) +checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark + python-pytz postgresql) +depends=(python python-scramp) +source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc} + pg8000-104.patch::https://github.com/yan12125/pg8000/commit/ec7aad27eb49aae572067b13a886fb72682aea89.patch) +sha256sums=('9e25ea13a5b7fcc83b026051d7c6e4dcd5221e950ebe5393de715a3fea1527d3' +'SKIP' +'284bc6f784b7658889953e635eec2f581919b4653030a523d64962c60436ceee') +validpgpkeys=( + 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke +) + +prepare() { + cd pg8000-$pkgver + patch -Np1 -i ../pg8000-104.patch +} + +build() { + cd pg8000-$pkgver + python setup.py build +} + +check() { + cd pg8000-$pkgver + + export PGDATA="$srcdir/postgres-testdata" + export PGHOST=127.0.0.1 + export PGPORT=$((49152+$RANDOM%1)) + + # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing + initdb --username=postgres --auth=trust +
[arch-commits] Commit in python-pg8000/repos/community-any (PKGBUILD PKGBUILD)
Date: Friday, April 15, 2022 @ 09:48:07 Author: yan12125 Revision: 1186465 archrelease: copy trunk to community-any Added: python-pg8000/repos/community-any/PKGBUILD (from rev 1186464, python-pg8000/trunk/PKGBUILD) Deleted: python-pg8000/repos/community-any/PKGBUILD --+ PKGBUILD | 142 ++--- 1 file changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-04-15 09:47:41 UTC (rev 1186464) +++ PKGBUILD2022-04-15 09:48:07 UTC (rev 1186465) @@ -1,71 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: quomoow - -pkgname=python-pg8000 -# https://github.com/tlocke/pg8000#release-notes -pkgver=1.24.1 -pkgrel=1 -pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" -arch=(any) -url='https://github.com/tlocke/pg8000' -license=(BSD) -makedepends=(python-setuptools) -checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark - python-pytz postgresql) -depends=(python python-scramp) -source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) -sha256sums=('291222c5ddfd66a3fc0d321700cf591c8b0f930d2fc848777d6cfcff55443ce6' -'SKIP') -validpgpkeys=( - 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke -) - -build() { - cd pg8000-$pkgver - python setup.py build -} - -check() { - cd pg8000-$pkgver - - export PGDATA="$srcdir/postgres-testdata" - export PGHOST=127.0.0.1 - export PGPORT=$((49152+$RANDOM%1)) - - # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing - initdb --username=postgres --auth=trust - openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" - cat <> "$PGDATA/postgresql.conf" -ssl = on -ssl_cert_file = 'self-signed.crt' -ssl_key_file = 'self-signed.key' -password_encryption = 'scram-sha-256' -EOF - - pg_ctl start -o "-k '' -h $PGHOST -p $PGPORT" -l "$srcdir/postgresql.log" - # Change the password for postgres after password_encryption is specified, so that the role has a valid SCRAM secret - psql -U postgres -c " -CREATE EXTENSION hstore; -ALTER ROLE postgres PASSWORD 'pw'; - " - - # should overwrite pg_hba.conf, or unexpected matches may happen against existing entries - cat < "$PGDATA/pg_hba.conf" -hostpg8000_md5 all 127.0.0.1/32md5 -hostpg8000_gss all 127.0.0.1/32gss -hostpg8000_password all 127.0.0.1/32password -hostpg8000_scram_sha_256 all127.0.0.1/32scram-sha-256 -hostall all 127.0.0.1/32trust -EOF - pg_ctl reload - # Upstream tests require LANG=en_GB.UTF-8 or LANG=C.UTF-8 :/ - # https://github.com/tlocke/pg8000/blob/1.19.2/test/native/test_typeconversion.py#L455-L458 - PYTHONPATH="$PWD" LANG=C.UTF-8 pytest test - pg_ctl stop -} - -package() { - cd pg8000-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: python-pg8000/repos/community-any/PKGBUILD (from rev 1186464, python-pg8000/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-04-15 09:48:07 UTC (rev 1186465) @@ -0,0 +1,71 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: quomoow + +pkgname=python-pg8000 +# https://github.com/tlocke/pg8000#release-notes +pkgver=1.24.2 +pkgrel=1 +pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" +arch=(any) +url='https://github.com/tlocke/pg8000' +license=(BSD) +makedepends=(python-setuptools) +checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark + python-pytz postgresql) +depends=(python python-scramp) +source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) +sha256sums=('ab7fc048a56fcac4d9c247b22a8356e608dd9a03d4835f1c87fba2e4f26284a5' +'SKIP') +validpgpkeys=( + 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke +) + +build() { + cd pg8000-$pkgver + python setup.py build +} + +check() { + cd pg8000-$pkgver + + export PGDATA="$srcdir/postgres-testdata" + export PGHOST=127.0.0.1 + export PGPORT=$((49152+$RANDOM%1)) + + # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing + initdb --username=postgres --auth=trust + openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" + cat <> "$PGDATA/postgresql.conf" +ssl = on +ssl_cert_file = 'self-signed.crt' +ssl_key_file = 'self-signed.key' +password_encryption =
[arch-commits] Commit in python-pg8000/repos/community-any (PKGBUILD PKGBUILD)
Date: Thursday, March 3, 2022 @ 13:01:26 Author: yan12125 Revision: 1140745 archrelease: copy trunk to community-any Added: python-pg8000/repos/community-any/PKGBUILD (from rev 1140744, python-pg8000/trunk/PKGBUILD) Deleted: python-pg8000/repos/community-any/PKGBUILD --+ PKGBUILD | 142 ++--- 1 file changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-03-03 13:01:12 UTC (rev 1140744) +++ PKGBUILD2022-03-03 13:01:26 UTC (rev 1140745) @@ -1,71 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: quomoow - -pkgname=python-pg8000 -# https://github.com/tlocke/pg8000#release-notes -pkgver=1.24.0 -pkgrel=1 -pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" -arch=(any) -url='https://github.com/tlocke/pg8000' -license=(BSD) -makedepends=(python-setuptools) -checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark - python-pytz postgresql) -depends=(python python-scramp) -source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) -sha256sums=('06c6b0b068d07ce366f7bcedadf76a0b5da6a61f86302c8caff690b7fc5dfedb' -'SKIP') -validpgpkeys=( - 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke -) - -build() { - cd pg8000-$pkgver - python setup.py build -} - -check() { - cd pg8000-$pkgver - - export PGDATA="$srcdir/postgres-testdata" - export PGHOST=127.0.0.1 - export PGPORT=$((49152+$RANDOM%1)) - - # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing - initdb --username=postgres --auth=trust - openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" - cat <> "$PGDATA/postgresql.conf" -ssl = on -ssl_cert_file = 'self-signed.crt' -ssl_key_file = 'self-signed.key' -password_encryption = 'scram-sha-256' -EOF - - pg_ctl start -o "-k '' -h $PGHOST -p $PGPORT" -l "$srcdir/postgresql.log" - # Change the password for postgres after password_encryption is specified, so that the role has a valid SCRAM secret - psql -U postgres -c " -CREATE EXTENSION hstore; -ALTER ROLE postgres PASSWORD 'pw'; - " - - # should overwrite pg_hba.conf, or unexpected matches may happen against existing entries - cat < "$PGDATA/pg_hba.conf" -hostpg8000_md5 all 127.0.0.1/32md5 -hostpg8000_gss all 127.0.0.1/32gss -hostpg8000_password all 127.0.0.1/32password -hostpg8000_scram_sha_256 all127.0.0.1/32scram-sha-256 -hostall all 127.0.0.1/32trust -EOF - pg_ctl reload - # Upstream tests require LANG=en_GB.UTF-8 or LANG=C.UTF-8 :/ - # https://github.com/tlocke/pg8000/blob/1.19.2/test/native/test_typeconversion.py#L455-L458 - PYTHONPATH="$PWD" LANG=C.UTF-8 pytest test - pg_ctl stop -} - -package() { - cd pg8000-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: python-pg8000/repos/community-any/PKGBUILD (from rev 1140744, python-pg8000/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-03-03 13:01:26 UTC (rev 1140745) @@ -0,0 +1,71 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: quomoow + +pkgname=python-pg8000 +# https://github.com/tlocke/pg8000#release-notes +pkgver=1.24.1 +pkgrel=1 +pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" +arch=(any) +url='https://github.com/tlocke/pg8000' +license=(BSD) +makedepends=(python-setuptools) +checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark + python-pytz postgresql) +depends=(python python-scramp) +source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) +sha256sums=('291222c5ddfd66a3fc0d321700cf591c8b0f930d2fc848777d6cfcff55443ce6' +'SKIP') +validpgpkeys=( + 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke +) + +build() { + cd pg8000-$pkgver + python setup.py build +} + +check() { + cd pg8000-$pkgver + + export PGDATA="$srcdir/postgres-testdata" + export PGHOST=127.0.0.1 + export PGPORT=$((49152+$RANDOM%1)) + + # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing + initdb --username=postgres --auth=trust + openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" + cat <> "$PGDATA/postgresql.conf" +ssl = on +ssl_cert_file = 'self-signed.crt' +ssl_key_file = 'self-signed.key' +password_encryption =
[arch-commits] Commit in python-pg8000/repos/community-any (PKGBUILD PKGBUILD)
Date: Monday, February 7, 2022 @ 02:39:17 Author: yan12125 Revision: 1127397 archrelease: copy trunk to community-any Added: python-pg8000/repos/community-any/PKGBUILD (from rev 1127396, python-pg8000/trunk/PKGBUILD) Deleted: python-pg8000/repos/community-any/PKGBUILD --+ PKGBUILD | 142 ++--- 1 file changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-02-07 02:38:40 UTC (rev 1127396) +++ PKGBUILD2022-02-07 02:39:17 UTC (rev 1127397) @@ -1,71 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: quomoow - -pkgname=python-pg8000 -# https://github.com/tlocke/pg8000#release-notes -pkgver=1.23.0 -pkgrel=3 -pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" -arch=(any) -url='https://github.com/tlocke/pg8000' -license=(BSD) -makedepends=(python-setuptools) -checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark - python-pytz postgresql) -depends=(python python-scramp) -source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) -sha256sums=('a413e00141342813a2ca47e8b7b0549ff338cca02bc819076b6d70f12d755c79' -'SKIP') -validpgpkeys=( - 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke -) - -build() { - cd pg8000-$pkgver - python setup.py build -} - -check() { - cd pg8000-$pkgver - - export PGDATA="$srcdir/postgres-testdata" - export PGHOST=127.0.0.1 - export PGPORT=$((49152+$RANDOM%1)) - - # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing - initdb --username=postgres --auth=trust - openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" - cat <> "$PGDATA/postgresql.conf" -ssl = on -ssl_cert_file = 'self-signed.crt' -ssl_key_file = 'self-signed.key' -password_encryption = 'scram-sha-256' -EOF - - pg_ctl start -o "-k '' -h $PGHOST -p $PGPORT" -l "$srcdir/postgresql.log" - # Change the password for postgres after password_encryption is specified, so that the role has a valid SCRAM secret - psql -U postgres -c " -CREATE EXTENSION hstore; -ALTER ROLE postgres PASSWORD 'pw'; - " - - # should overwrite pg_hba.conf, or unexpected matches may happen against existing entries - cat < "$PGDATA/pg_hba.conf" -hostpg8000_md5 all 127.0.0.1/32md5 -hostpg8000_gss all 127.0.0.1/32gss -hostpg8000_password all 127.0.0.1/32password -hostpg8000_scram_sha_256 all127.0.0.1/32scram-sha-256 -hostall all 127.0.0.1/32trust -EOF - pg_ctl reload - # Upstream tests require LANG=en_GB.UTF-8 or LANG=C.UTF-8 :/ - # https://github.com/tlocke/pg8000/blob/1.19.2/test/native/test_typeconversion.py#L455-L458 - PYTHONPATH="$PWD" LANG=C.UTF-8 pytest test - pg_ctl stop -} - -package() { - cd pg8000-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: python-pg8000/repos/community-any/PKGBUILD (from rev 1127396, python-pg8000/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-02-07 02:39:17 UTC (rev 1127397) @@ -0,0 +1,71 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: quomoow + +pkgname=python-pg8000 +# https://github.com/tlocke/pg8000#release-notes +pkgver=1.24.0 +pkgrel=1 +pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" +arch=(any) +url='https://github.com/tlocke/pg8000' +license=(BSD) +makedepends=(python-setuptools) +checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark + python-pytz postgresql) +depends=(python python-scramp) +source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) +sha256sums=('06c6b0b068d07ce366f7bcedadf76a0b5da6a61f86302c8caff690b7fc5dfedb' +'SKIP') +validpgpkeys=( + 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke +) + +build() { + cd pg8000-$pkgver + python setup.py build +} + +check() { + cd pg8000-$pkgver + + export PGDATA="$srcdir/postgres-testdata" + export PGHOST=127.0.0.1 + export PGPORT=$((49152+$RANDOM%1)) + + # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing + initdb --username=postgres --auth=trust + openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" + cat <> "$PGDATA/postgresql.conf" +ssl = on +ssl_cert_file = 'self-signed.crt' +ssl_key_file = 'self-signed.key' +password_encryption =
[arch-commits] Commit in python-pg8000/repos/community-any (PKGBUILD PKGBUILD)
Date: Thursday, November 18, 2021 @ 15:34:49 Author: yan12125 Revision: 1052437 archrelease: copy trunk to community-any Added: python-pg8000/repos/community-any/PKGBUILD (from rev 1052436, python-pg8000/trunk/PKGBUILD) Deleted: python-pg8000/repos/community-any/PKGBUILD --+ PKGBUILD | 142 ++--- 1 file changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-11-18 15:34:34 UTC (rev 1052436) +++ PKGBUILD2021-11-18 15:34:49 UTC (rev 1052437) @@ -1,71 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: quomoow - -pkgname=python-pg8000 -# https://github.com/tlocke/pg8000#release-notes -pkgver=1.22.1 -pkgrel=1 -pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" -arch=(any) -url='https://github.com/tlocke/pg8000' -license=(BSD) -makedepends=(python-setuptools) -checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark - python-pytz postgresql) -depends=(python python-scramp) -source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) -sha256sums=('fd69ad5af2781e59608cb3f4d966b234d961c62f093edd3194ac45df65b8d1d4' -'SKIP') -validpgpkeys=( - 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke -) - -build() { - cd pg8000-$pkgver - python setup.py build -} - -check() { - cd pg8000-$pkgver - - export PGDATA="$srcdir/postgres-testdata" - export PGHOST=127.0.0.1 - export PGPORT=$((49152+$RANDOM%1)) - - # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing - initdb --username=postgres --auth=trust - openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" - cat <> "$PGDATA/postgresql.conf" -ssl = on -ssl_cert_file = 'self-signed.crt' -ssl_key_file = 'self-signed.key' -password_encryption = 'scram-sha-256' -EOF - - pg_ctl start -o "-k '' -h $PGHOST -p $PGPORT" -l "$srcdir/postgresql.log" - # Change the password for postgres after password_encryption is specified, so that the role has a valid SCRAM secret - psql -U postgres -c " -CREATE EXTENSION hstore; -ALTER ROLE postgres PASSWORD 'pw'; - " - - # should overwrite pg_hba.conf, or unexpected matches may happen against existing entries - cat < "$PGDATA/pg_hba.conf" -hostpg8000_md5 all 127.0.0.1/32md5 -hostpg8000_gss all 127.0.0.1/32gss -hostpg8000_password all 127.0.0.1/32password -hostpg8000_scram_sha_256 all127.0.0.1/32scram-sha-256 -hostall all 127.0.0.1/32trust -EOF - pg_ctl reload - # Upstream tests require LANG=en_GB.UTF-8 or LANG=C.UTF-8 :/ - # https://github.com/tlocke/pg8000/blob/1.19.2/test/native/test_typeconversion.py#L455-L458 - PYTHONPATH="$PWD" LANG=C.UTF-8 pytest test - pg_ctl stop -} - -package() { - cd pg8000-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: python-pg8000/repos/community-any/PKGBUILD (from rev 1052436, python-pg8000/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-11-18 15:34:49 UTC (rev 1052437) @@ -0,0 +1,71 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: quomoow + +pkgname=python-pg8000 +# https://github.com/tlocke/pg8000#release-notes +pkgver=1.23.0 +pkgrel=1 +pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" +arch=(any) +url='https://github.com/tlocke/pg8000' +license=(BSD) +makedepends=(python-setuptools) +checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark + python-pytz postgresql) +depends=(python python-scramp) +source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) +sha256sums=('a413e00141342813a2ca47e8b7b0549ff338cca02bc819076b6d70f12d755c79' +'SKIP') +validpgpkeys=( + 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke +) + +build() { + cd pg8000-$pkgver + python setup.py build +} + +check() { + cd pg8000-$pkgver + + export PGDATA="$srcdir/postgres-testdata" + export PGHOST=127.0.0.1 + export PGPORT=$((49152+$RANDOM%1)) + + # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing + initdb --username=postgres --auth=trust + openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" + cat <> "$PGDATA/postgresql.conf" +ssl = on +ssl_cert_file = 'self-signed.crt' +ssl_key_file = 'self-signed.key'
[arch-commits] Commit in python-pg8000/repos/community-any (PKGBUILD PKGBUILD)
Date: Thursday, November 11, 2021 @ 13:45:05 Author: yan12125 Revision: 1042119 archrelease: copy trunk to community-any Added: python-pg8000/repos/community-any/PKGBUILD (from rev 1042118, python-pg8000/trunk/PKGBUILD) Deleted: python-pg8000/repos/community-any/PKGBUILD --+ PKGBUILD | 142 ++--- 1 file changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-11-11 13:44:50 UTC (rev 1042118) +++ PKGBUILD2021-11-11 13:45:05 UTC (rev 1042119) @@ -1,71 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: quomoow - -pkgname=python-pg8000 -# https://github.com/tlocke/pg8000#release-notes -pkgver=1.22.0 -pkgrel=1 -pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" -arch=(any) -url='https://github.com/tlocke/pg8000' -license=(BSD) -makedepends=(python-setuptools) -checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark - python-pytz postgresql) -depends=(python python-scramp) -source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) -sha256sums=('c5172252fc92142ec104cd5e7231be4580a1a0a814403707bafbf7bb8383a29a' -'SKIP') -validpgpkeys=( - 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke -) - -build() { - cd pg8000-$pkgver - python setup.py build -} - -check() { - cd pg8000-$pkgver - - export PGDATA="$srcdir/postgres-testdata" - export PGHOST=127.0.0.1 - export PGPORT=$((49152+$RANDOM%1)) - - # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing - initdb --username=postgres --auth=trust - openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" - cat <> "$PGDATA/postgresql.conf" -ssl = on -ssl_cert_file = 'self-signed.crt' -ssl_key_file = 'self-signed.key' -password_encryption = 'scram-sha-256' -EOF - - pg_ctl start -o "-k '' -h $PGHOST -p $PGPORT" -l "$srcdir/postgresql.log" - # Change the password for postgres after password_encryption is specified, so that the role has a valid SCRAM secret - psql -U postgres -c " -CREATE EXTENSION hstore; -ALTER ROLE postgres PASSWORD 'pw'; - " - - # should overwrite pg_hba.conf, or unexpected matches may happen against existing entries - cat < "$PGDATA/pg_hba.conf" -hostpg8000_md5 all 127.0.0.1/32md5 -hostpg8000_gss all 127.0.0.1/32gss -hostpg8000_password all 127.0.0.1/32password -hostpg8000_scram_sha_256 all127.0.0.1/32scram-sha-256 -hostall all 127.0.0.1/32trust -EOF - pg_ctl reload - # Upstream tests require LANG=en_GB.UTF-8 or LANG=C.UTF-8 :/ - # https://github.com/tlocke/pg8000/blob/1.19.2/test/native/test_typeconversion.py#L455-L458 - PYTHONPATH="$PWD" LANG=C.UTF-8 pytest test - pg_ctl stop -} - -package() { - cd pg8000-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: python-pg8000/repos/community-any/PKGBUILD (from rev 1042118, python-pg8000/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-11-11 13:45:05 UTC (rev 1042119) @@ -0,0 +1,71 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: quomoow + +pkgname=python-pg8000 +# https://github.com/tlocke/pg8000#release-notes +pkgver=1.22.1 +pkgrel=1 +pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" +arch=(any) +url='https://github.com/tlocke/pg8000' +license=(BSD) +makedepends=(python-setuptools) +checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark + python-pytz postgresql) +depends=(python python-scramp) +source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) +sha256sums=('fd69ad5af2781e59608cb3f4d966b234d961c62f093edd3194ac45df65b8d1d4' +'SKIP') +validpgpkeys=( + 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke +) + +build() { + cd pg8000-$pkgver + python setup.py build +} + +check() { + cd pg8000-$pkgver + + export PGDATA="$srcdir/postgres-testdata" + export PGHOST=127.0.0.1 + export PGPORT=$((49152+$RANDOM%1)) + + # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing + initdb --username=postgres --auth=trust + openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" + cat <> "$PGDATA/postgresql.conf" +ssl = on +ssl_cert_file = 'self-signed.crt' +ssl_key_file = 'self-signed.key'
[arch-commits] Commit in python-pg8000/repos/community-any (PKGBUILD PKGBUILD)
Date: Thursday, October 14, 2021 @ 15:16:59 Author: yan12125 Revision: 1030108 archrelease: copy trunk to community-any Added: python-pg8000/repos/community-any/PKGBUILD (from rev 1030107, python-pg8000/trunk/PKGBUILD) Deleted: python-pg8000/repos/community-any/PKGBUILD --+ PKGBUILD | 142 ++--- 1 file changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-10-14 15:16:43 UTC (rev 1030107) +++ PKGBUILD2021-10-14 15:16:59 UTC (rev 1030108) @@ -1,71 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: quomoow - -pkgname=python-pg8000 -# https://github.com/tlocke/pg8000#release-notes -pkgver=1.21.3 -pkgrel=1 -pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" -arch=(any) -url='https://github.com/tlocke/pg8000' -license=(BSD) -makedepends=(python-setuptools) -checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark - python-pytz postgresql) -depends=(python python-scramp) -source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) -sha256sums=('f73f1d477cda12a7b784be73c8a0c06c71e4284ef90cae4883cbc7c524b95fbf' -'SKIP') -validpgpkeys=( - 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke -) - -build() { - cd pg8000-$pkgver - python setup.py build -} - -check() { - cd pg8000-$pkgver - - export PGDATA="$srcdir/postgres-testdata" - export PGHOST=127.0.0.1 - export PGPORT=$((49152+$RANDOM%1)) - - # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing - initdb --username=postgres --auth=trust - openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" - cat <> "$PGDATA/postgresql.conf" -ssl = on -ssl_cert_file = 'self-signed.crt' -ssl_key_file = 'self-signed.key' -password_encryption = 'scram-sha-256' -EOF - - pg_ctl start -o "-k '' -h $PGHOST -p $PGPORT" -l "$srcdir/postgresql.log" - # Change the password for postgres after password_encryption is specified, so that the role has a valid SCRAM secret - psql -U postgres -c " -CREATE EXTENSION hstore; -ALTER ROLE postgres PASSWORD 'pw'; - " - - # should overwrite pg_hba.conf, or unexpected matches may happen against existing entries - cat < "$PGDATA/pg_hba.conf" -hostpg8000_md5 all 127.0.0.1/32md5 -hostpg8000_gss all 127.0.0.1/32gss -hostpg8000_password all 127.0.0.1/32password -hostpg8000_scram_sha_256 all127.0.0.1/32scram-sha-256 -hostall all 127.0.0.1/32trust -EOF - pg_ctl reload - # Upstream tests require LANG=en_GB.UTF-8 or LANG=C.UTF-8 :/ - # https://github.com/tlocke/pg8000/blob/1.19.2/test/native/test_typeconversion.py#L455-L458 - PYTHONPATH="$PWD" LANG=C.UTF-8 pytest test - pg_ctl stop -} - -package() { - cd pg8000-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: python-pg8000/repos/community-any/PKGBUILD (from rev 1030107, python-pg8000/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-10-14 15:16:59 UTC (rev 1030108) @@ -0,0 +1,71 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: quomoow + +pkgname=python-pg8000 +# https://github.com/tlocke/pg8000#release-notes +pkgver=1.22.0 +pkgrel=1 +pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" +arch=(any) +url='https://github.com/tlocke/pg8000' +license=(BSD) +makedepends=(python-setuptools) +checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark + python-pytz postgresql) +depends=(python python-scramp) +source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) +sha256sums=('c5172252fc92142ec104cd5e7231be4580a1a0a814403707bafbf7bb8383a29a' +'SKIP') +validpgpkeys=( + 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke +) + +build() { + cd pg8000-$pkgver + python setup.py build +} + +check() { + cd pg8000-$pkgver + + export PGDATA="$srcdir/postgres-testdata" + export PGHOST=127.0.0.1 + export PGPORT=$((49152+$RANDOM%1)) + + # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing + initdb --username=postgres --auth=trust + openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" + cat <> "$PGDATA/postgresql.conf" +ssl = on +ssl_cert_file = 'self-signed.crt' +ssl_key_file = 'self-signed.key' +password_encryption
[arch-commits] Commit in python-pg8000/repos/community-any (PKGBUILD PKGBUILD)
Date: Sunday, October 10, 2021 @ 17:48:34 Author: yan12125 Revision: 1029277 archrelease: copy trunk to community-any Added: python-pg8000/repos/community-any/PKGBUILD (from rev 1029276, python-pg8000/trunk/PKGBUILD) Deleted: python-pg8000/repos/community-any/PKGBUILD --+ PKGBUILD | 142 ++--- 1 file changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-10-10 17:48:23 UTC (rev 1029276) +++ PKGBUILD2021-10-10 17:48:34 UTC (rev 1029277) @@ -1,71 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: quomoow - -pkgname=python-pg8000 -# https://github.com/tlocke/pg8000#release-notes -pkgver=1.21.2 -pkgrel=1 -pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" -arch=(any) -url='https://github.com/tlocke/pg8000' -license=(BSD) -makedepends=(python-setuptools) -checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark - python-pytz postgresql) -depends=(python python-scramp) -source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) -sha256sums=('36a3b517408334967c1fa0d29656da03608d63122a372ec92c85f49aed2d24e3' -'SKIP') -validpgpkeys=( - 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke -) - -build() { - cd pg8000-$pkgver - python setup.py build -} - -check() { - cd pg8000-$pkgver - - export PGDATA="$srcdir/postgres-testdata" - export PGHOST=127.0.0.1 - export PGPORT=$((49152+$RANDOM%1)) - - # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing - initdb --username=postgres --auth=trust - openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" - cat <> "$PGDATA/postgresql.conf" -ssl = on -ssl_cert_file = 'self-signed.crt' -ssl_key_file = 'self-signed.key' -password_encryption = 'scram-sha-256' -EOF - - pg_ctl start -o "-k '' -h $PGHOST -p $PGPORT" -l "$srcdir/postgresql.log" - # Change the password for postgres after password_encryption is specified, so that the role has a valid SCRAM secret - psql -U postgres -c " -CREATE EXTENSION hstore; -ALTER ROLE postgres PASSWORD 'pw'; - " - - # should overwrite pg_hba.conf, or unexpected matches may happen against existing entries - cat < "$PGDATA/pg_hba.conf" -hostpg8000_md5 all 127.0.0.1/32md5 -hostpg8000_gss all 127.0.0.1/32gss -hostpg8000_password all 127.0.0.1/32password -hostpg8000_scram_sha_256 all127.0.0.1/32scram-sha-256 -hostall all 127.0.0.1/32trust -EOF - pg_ctl reload - # Upstream tests require LANG=en_GB.UTF-8 or LANG=C.UTF-8 :/ - # https://github.com/tlocke/pg8000/blob/1.19.2/test/native/test_typeconversion.py#L455-L458 - PYTHONPATH="$PWD" LANG=C.UTF-8 pytest test - pg_ctl stop -} - -package() { - cd pg8000-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: python-pg8000/repos/community-any/PKGBUILD (from rev 1029276, python-pg8000/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-10-10 17:48:34 UTC (rev 1029277) @@ -0,0 +1,71 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: quomoow + +pkgname=python-pg8000 +# https://github.com/tlocke/pg8000#release-notes +pkgver=1.21.3 +pkgrel=1 +pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" +arch=(any) +url='https://github.com/tlocke/pg8000' +license=(BSD) +makedepends=(python-setuptools) +checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark + python-pytz postgresql) +depends=(python python-scramp) +source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) +sha256sums=('f73f1d477cda12a7b784be73c8a0c06c71e4284ef90cae4883cbc7c524b95fbf' +'SKIP') +validpgpkeys=( + 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke +) + +build() { + cd pg8000-$pkgver + python setup.py build +} + +check() { + cd pg8000-$pkgver + + export PGDATA="$srcdir/postgres-testdata" + export PGHOST=127.0.0.1 + export PGPORT=$((49152+$RANDOM%1)) + + # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing + initdb --username=postgres --auth=trust + openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" + cat <> "$PGDATA/postgresql.conf" +ssl = on +ssl_cert_file = 'self-signed.crt' +ssl_key_file = 'self-signed.key' +password_encryption =
[arch-commits] Commit in python-pg8000/repos/community-any (PKGBUILD PKGBUILD)
Date: Sunday, September 19, 2021 @ 04:41:31 Author: yan12125 Revision: 1017131 archrelease: copy trunk to community-any Added: python-pg8000/repos/community-any/PKGBUILD (from rev 1017130, python-pg8000/trunk/PKGBUILD) Deleted: python-pg8000/repos/community-any/PKGBUILD --+ PKGBUILD | 141 ++--- 1 file changed, 71 insertions(+), 70 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-09-19 04:41:20 UTC (rev 1017130) +++ PKGBUILD2021-09-19 04:41:31 UTC (rev 1017131) @@ -1,70 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: quomoow - -pkgname=python-pg8000 -pkgver=1.21.1 -pkgrel=1 -pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" -arch=(any) -url='https://github.com/tlocke/pg8000' -license=(BSD) -makedepends=(python-setuptools) -checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark - python-pytz postgresql) -depends=(python python-scramp) -source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) -sha256sums=('1ccbeec93b70e2e8532df3abddc6905c7821909c96dceaaef751b57c5291869a' -'SKIP') -validpgpkeys=( - 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke -) - -build() { - cd pg8000-$pkgver - python setup.py build -} - -check() { - cd pg8000-$pkgver - - export PGDATA="$srcdir/postgres-testdata" - export PGHOST=127.0.0.1 - export PGPORT=$((49152+$RANDOM%1)) - - # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing - initdb --username=postgres --auth=trust - openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" - cat <> "$PGDATA/postgresql.conf" -ssl = on -ssl_cert_file = 'self-signed.crt' -ssl_key_file = 'self-signed.key' -password_encryption = 'scram-sha-256' -EOF - - pg_ctl start -o "-k '' -h $PGHOST -p $PGPORT" -l "$srcdir/postgresql.log" - # Change the password for postgres after password_encryption is specified, so that the role has a valid SCRAM secret - psql -U postgres -c " -CREATE EXTENSION hstore; -ALTER ROLE postgres PASSWORD 'pw'; - " - - # should overwrite pg_hba.conf, or unexpected matches may happen against existing entries - cat < "$PGDATA/pg_hba.conf" -hostpg8000_md5 all 127.0.0.1/32md5 -hostpg8000_gss all 127.0.0.1/32gss -hostpg8000_password all 127.0.0.1/32password -hostpg8000_scram_sha_256 all127.0.0.1/32scram-sha-256 -hostall all 127.0.0.1/32trust -EOF - pg_ctl reload - # Upstream tests require LANG=en_GB.UTF-8 or LANG=C.UTF-8 :/ - # https://github.com/tlocke/pg8000/blob/1.19.2/test/native/test_typeconversion.py#L455-L458 - PYTHONPATH="$PWD" LANG=C.UTF-8 pytest test - pg_ctl stop -} - -package() { - cd pg8000-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: python-pg8000/repos/community-any/PKGBUILD (from rev 1017130, python-pg8000/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-09-19 04:41:31 UTC (rev 1017131) @@ -0,0 +1,71 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: quomoow + +pkgname=python-pg8000 +# https://github.com/tlocke/pg8000#release-notes +pkgver=1.21.2 +pkgrel=1 +pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" +arch=(any) +url='https://github.com/tlocke/pg8000' +license=(BSD) +makedepends=(python-setuptools) +checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark + python-pytz postgresql) +depends=(python python-scramp) +source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) +sha256sums=('36a3b517408334967c1fa0d29656da03608d63122a372ec92c85f49aed2d24e3' +'SKIP') +validpgpkeys=( + 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke +) + +build() { + cd pg8000-$pkgver + python setup.py build +} + +check() { + cd pg8000-$pkgver + + export PGDATA="$srcdir/postgres-testdata" + export PGHOST=127.0.0.1 + export PGPORT=$((49152+$RANDOM%1)) + + # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing + initdb --username=postgres --auth=trust + openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" + cat <> "$PGDATA/postgresql.conf" +ssl = on +ssl_cert_file = 'self-signed.crt' +ssl_key_file = 'self-signed.key' +password_encryption = 'scram-sha-256' +EOF + + pg_ctl start -o "-k
[arch-commits] Commit in python-pg8000/repos/community-any (PKGBUILD PKGBUILD)
Date: Saturday, September 4, 2021 @ 01:32:17 Author: yan12125 Revision: 1010758 archrelease: copy trunk to community-any Added: python-pg8000/repos/community-any/PKGBUILD (from rev 1010757, python-pg8000/trunk/PKGBUILD) Deleted: python-pg8000/repos/community-any/PKGBUILD --+ PKGBUILD | 140 ++--- 1 file changed, 70 insertions(+), 70 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-09-04 01:32:07 UTC (rev 1010757) +++ PKGBUILD2021-09-04 01:32:17 UTC (rev 1010758) @@ -1,70 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: quomoow - -pkgname=python-pg8000 -pkgver=1.21.0 -pkgrel=1 -pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" -arch=(any) -url='https://github.com/tlocke/pg8000' -license=(BSD) -makedepends=(python-setuptools) -checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark - python-pytz postgresql) -depends=(python python-scramp) -source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) -sha256sums=('c99108c630b1c468668a8def38be4c91b2fb7cf0154ce7918e7a3912e60652d7' -'SKIP') -validpgpkeys=( - 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke -) - -build() { - cd pg8000-$pkgver - python setup.py build -} - -check() { - cd pg8000-$pkgver - - export PGDATA="$srcdir/postgres-testdata" - export PGHOST=127.0.0.1 - export PGPORT=$((49152+$RANDOM%1)) - - # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing - initdb --username=postgres --auth=trust - openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" - cat <> "$PGDATA/postgresql.conf" -ssl = on -ssl_cert_file = 'self-signed.crt' -ssl_key_file = 'self-signed.key' -password_encryption = 'scram-sha-256' -EOF - - pg_ctl start -o "-k '' -h $PGHOST -p $PGPORT" -l "$srcdir/postgresql.log" - # Change the password for postgres after password_encryption is specified, so that the role has a valid SCRAM secret - psql -U postgres -c " -CREATE EXTENSION hstore; -ALTER ROLE postgres PASSWORD 'pw'; - " - - # should overwrite pg_hba.conf, or unexpected matches may happen against existing entries - cat < "$PGDATA/pg_hba.conf" -hostpg8000_md5 all 127.0.0.1/32md5 -hostpg8000_gss all 127.0.0.1/32gss -hostpg8000_password all 127.0.0.1/32password -hostpg8000_scram_sha_256 all127.0.0.1/32scram-sha-256 -hostall all 127.0.0.1/32trust -EOF - pg_ctl reload - # Upstream tests require LANG=en_GB.UTF-8 or LANG=C.UTF-8 :/ - # https://github.com/tlocke/pg8000/blob/1.19.2/test/native/test_typeconversion.py#L455-L458 - PYTHONPATH="$PWD" LANG=C.UTF-8 pytest test - pg_ctl stop -} - -package() { - cd pg8000-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: python-pg8000/repos/community-any/PKGBUILD (from rev 1010757, python-pg8000/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-09-04 01:32:17 UTC (rev 1010758) @@ -0,0 +1,70 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: quomoow + +pkgname=python-pg8000 +pkgver=1.21.1 +pkgrel=1 +pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" +arch=(any) +url='https://github.com/tlocke/pg8000' +license=(BSD) +makedepends=(python-setuptools) +checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark + python-pytz postgresql) +depends=(python python-scramp) +source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) +sha256sums=('1ccbeec93b70e2e8532df3abddc6905c7821909c96dceaaef751b57c5291869a' +'SKIP') +validpgpkeys=( + 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke +) + +build() { + cd pg8000-$pkgver + python setup.py build +} + +check() { + cd pg8000-$pkgver + + export PGDATA="$srcdir/postgres-testdata" + export PGHOST=127.0.0.1 + export PGPORT=$((49152+$RANDOM%1)) + + # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing + initdb --username=postgres --auth=trust + openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" + cat <> "$PGDATA/postgresql.conf" +ssl = on +ssl_cert_file = 'self-signed.crt' +ssl_key_file = 'self-signed.key' +password_encryption = 'scram-sha-256' +EOF + + pg_ctl start -o "-k '' -h $PGHOST -p $PGPORT" -l
[arch-commits] Commit in python-pg8000/repos/community-any (PKGBUILD PKGBUILD)
Date: Saturday, July 31, 2021 @ 13:13:22 Author: yan12125 Revision: 991107 archrelease: copy trunk to community-any Added: python-pg8000/repos/community-any/PKGBUILD (from rev 991106, python-pg8000/trunk/PKGBUILD) Deleted: python-pg8000/repos/community-any/PKGBUILD --+ PKGBUILD | 140 ++--- 1 file changed, 70 insertions(+), 70 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-07-31 13:13:11 UTC (rev 991106) +++ PKGBUILD2021-07-31 13:13:22 UTC (rev 991107) @@ -1,70 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: quomoow - -pkgname=python-pg8000 -pkgver=1.20.0 -pkgrel=1 -pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" -arch=(any) -url='https://github.com/tlocke/pg8000' -license=(BSD) -makedepends=(python-setuptools) -checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark - python-pytz postgresql) -depends=(python python-scramp) -source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) -sha256sums=('490ec22a92601f0454b3ed4c8d4ecddc30f66c0e3f783f0ecc581037749a8c55' -'SKIP') -validpgpkeys=( - 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke -) - -build() { - cd pg8000-$pkgver - python setup.py build -} - -check() { - cd pg8000-$pkgver - - export PGDATA="$srcdir/postgres-testdata" - export PGHOST=127.0.0.1 - export PGPORT=$((49152+$RANDOM%1)) - - # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing - initdb --username=postgres --auth=trust - openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" - cat <> "$PGDATA/postgresql.conf" -ssl = on -ssl_cert_file = 'self-signed.crt' -ssl_key_file = 'self-signed.key' -password_encryption = 'scram-sha-256' -EOF - - pg_ctl start -o "-k '' -h $PGHOST -p $PGPORT" -l "$srcdir/postgresql.log" - # Change the password for postgres after password_encryption is specified, so that the role has a valid SCRAM secret - psql -U postgres -c " -CREATE EXTENSION hstore; -ALTER ROLE postgres PASSWORD 'pw'; - " - - # should overwrite pg_hba.conf, or unexpected matches may happen against existing entries - cat < "$PGDATA/pg_hba.conf" -hostpg8000_md5 all 127.0.0.1/32md5 -hostpg8000_gss all 127.0.0.1/32gss -hostpg8000_password all 127.0.0.1/32password -hostpg8000_scram_sha_256 all127.0.0.1/32scram-sha-256 -hostall all 127.0.0.1/32trust -EOF - pg_ctl reload - # Upstream tests require LANG=en_GB.UTF-8 or LANG=C.UTF-8 :/ - # https://github.com/tlocke/pg8000/blob/1.19.2/test/native/test_typeconversion.py#L455-L458 - PYTHONPATH="$PWD" LANG=C.UTF-8 pytest test - pg_ctl stop -} - -package() { - cd pg8000-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: python-pg8000/repos/community-any/PKGBUILD (from rev 991106, python-pg8000/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-07-31 13:13:22 UTC (rev 991107) @@ -0,0 +1,70 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: quomoow + +pkgname=python-pg8000 +pkgver=1.21.0 +pkgrel=1 +pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" +arch=(any) +url='https://github.com/tlocke/pg8000' +license=(BSD) +makedepends=(python-setuptools) +checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark + python-pytz postgresql) +depends=(python python-scramp) +source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) +sha256sums=('c99108c630b1c468668a8def38be4c91b2fb7cf0154ce7918e7a3912e60652d7' +'SKIP') +validpgpkeys=( + 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke +) + +build() { + cd pg8000-$pkgver + python setup.py build +} + +check() { + cd pg8000-$pkgver + + export PGDATA="$srcdir/postgres-testdata" + export PGHOST=127.0.0.1 + export PGPORT=$((49152+$RANDOM%1)) + + # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing + initdb --username=postgres --auth=trust + openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" + cat <> "$PGDATA/postgresql.conf" +ssl = on +ssl_cert_file = 'self-signed.crt' +ssl_key_file = 'self-signed.key' +password_encryption = 'scram-sha-256' +EOF + + pg_ctl start -o "-k '' -h $PGHOST -p $PGPORT" -l "$srcdir/postgresql.log" + #
[arch-commits] Commit in python-pg8000/repos/community-any (PKGBUILD PKGBUILD)
Date: Sunday, July 4, 2021 @ 13:13:42 Author: yan12125 Revision: 972047 archrelease: copy trunk to community-any Added: python-pg8000/repos/community-any/PKGBUILD (from rev 972046, python-pg8000/trunk/PKGBUILD) Deleted: python-pg8000/repos/community-any/PKGBUILD --+ PKGBUILD | 148 - 1 file changed, 70 insertions(+), 78 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-07-04 13:13:28 UTC (rev 972046) +++ PKGBUILD2021-07-04 13:13:42 UTC (rev 972047) @@ -1,78 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: quomoow - -pkgname=python-pg8000 -pkgver=1.19.5 -pkgrel=1 -pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" -arch=(any) -url='https://github.com/tlocke/pg8000' -license=(BSD) -makedepends=(python-setuptools) -checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark - python-pytz postgresql) -depends=(python python-scramp) -source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) -sha256sums=('dcb9afb9cb87acc79388ae633c45cf7f806aabe3bb5d8cf154572b699393f937' -'SKIP') -validpgpkeys=( - 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke -) - -prepare() { - cd pg8000-$pkgver - - # Remove upper bounds of dependencies - sed --in-place=.orig -r 's#,?<[0-9.]+,?##;s#==([0-9.]+)#>=\1#' setup.py - diff -u setup.py{.orig,} || true -} - -build() { - cd pg8000-$pkgver - python setup.py build -} - -check() { - cd pg8000-$pkgver - - export PGDATA="$srcdir/postgres-testdata" - export PGHOST=127.0.0.1 - export PGPORT=$((49152+$RANDOM%1)) - - # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing - initdb --username=postgres --auth=trust - openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" - cat <> "$PGDATA/postgresql.conf" -ssl = on -ssl_cert_file = 'self-signed.crt' -ssl_key_file = 'self-signed.key' -password_encryption = 'scram-sha-256' -EOF - - pg_ctl start -o "-k '' -h $PGHOST -p $PGPORT" -l "$srcdir/postgresql.log" - # Change the password for postgres after password_encryption is specified, so that the role has a valid SCRAM secret - psql -U postgres -c " -CREATE EXTENSION hstore; -ALTER ROLE postgres PASSWORD 'pw'; - " - - # should overwrite pg_hba.conf, or unexpected matches may happen against existing entries - cat < "$PGDATA/pg_hba.conf" -hostpg8000_md5 all 127.0.0.1/32md5 -hostpg8000_gss all 127.0.0.1/32gss -hostpg8000_password all 127.0.0.1/32password -hostpg8000_scram_sha_256 all127.0.0.1/32scram-sha-256 -hostall all 127.0.0.1/32trust -EOF - pg_ctl reload - # Upstream tests require LANG=en_GB.UTF-8 or LANG=C.UTF-8 :/ - # https://github.com/tlocke/pg8000/blob/1.19.2/test/native/test_typeconversion.py#L455-L458 - PYTHONPATH="$PWD" LANG=C.UTF-8 pytest test - pg_ctl stop -} - -package() { - cd pg8000-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: python-pg8000/repos/community-any/PKGBUILD (from rev 972046, python-pg8000/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-07-04 13:13:42 UTC (rev 972047) @@ -0,0 +1,70 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: quomoow + +pkgname=python-pg8000 +pkgver=1.20.0 +pkgrel=1 +pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" +arch=(any) +url='https://github.com/tlocke/pg8000' +license=(BSD) +makedepends=(python-setuptools) +checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark + python-pytz postgresql) +depends=(python python-scramp) +source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) +sha256sums=('490ec22a92601f0454b3ed4c8d4ecddc30f66c0e3f783f0ecc581037749a8c55' +'SKIP') +validpgpkeys=( + 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke +) + +build() { + cd pg8000-$pkgver + python setup.py build +} + +check() { + cd pg8000-$pkgver + + export PGDATA="$srcdir/postgres-testdata" + export PGHOST=127.0.0.1 + export PGPORT=$((49152+$RANDOM%1)) + + # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing + initdb --username=postgres --auth=trust + openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" + cat <> "$PGDATA/postgresql.conf" +ssl = on
[arch-commits] Commit in python-pg8000/repos/community-any (PKGBUILD PKGBUILD)
Date: Saturday, May 22, 2021 @ 01:18:43 Author: yan12125 Revision: 941148 archrelease: copy trunk to community-any Added: python-pg8000/repos/community-any/PKGBUILD (from rev 941147, python-pg8000/trunk/PKGBUILD) Deleted: python-pg8000/repos/community-any/PKGBUILD --+ PKGBUILD | 156 ++--- 1 file changed, 78 insertions(+), 78 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-05-22 01:18:27 UTC (rev 941147) +++ PKGBUILD2021-05-22 01:18:43 UTC (rev 941148) @@ -1,78 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: quomoow - -pkgname=python-pg8000 -pkgver=1.19.4 -pkgrel=1 -pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" -arch=(any) -url='https://github.com/tlocke/pg8000' -license=(BSD) -makedepends=(python-setuptools) -checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark - python-pytz postgresql) -depends=(python python-scramp) -source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) -sha256sums=('7c9c6d57541b0f2153e23a8d759ceb3d7cb9308918fba6ad9e92f8e0e5a90bc8' -'SKIP') -validpgpkeys=( - 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke -) - -prepare() { - cd pg8000-$pkgver - - # Remove upper bounds of dependencies - sed --in-place=.orig -r 's#,?<[0-9.]+,?##;s#==([0-9.]+)#>=\1#' setup.py - diff -u setup.py{.orig,} || true -} - -build() { - cd pg8000-$pkgver - python setup.py build -} - -check() { - cd pg8000-$pkgver - - export PGDATA="$srcdir/postgres-testdata" - export PGHOST=127.0.0.1 - export PGPORT=$((49152+$RANDOM%1)) - - # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing - initdb --username=postgres --auth=trust - openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" - cat <> "$PGDATA/postgresql.conf" -ssl = on -ssl_cert_file = 'self-signed.crt' -ssl_key_file = 'self-signed.key' -password_encryption = 'scram-sha-256' -EOF - - pg_ctl start -o "-k '' -h $PGHOST -p $PGPORT" -l "$srcdir/postgresql.log" - # Change the password for postgres after password_encryption is specified, so that the role has a valid SCRAM secret - psql -U postgres -c " -CREATE EXTENSION hstore; -ALTER ROLE postgres PASSWORD 'pw'; - " - - # should overwrite pg_hba.conf, or unexpected matches may happen against existing entries - cat < "$PGDATA/pg_hba.conf" -hostpg8000_md5 all 127.0.0.1/32md5 -hostpg8000_gss all 127.0.0.1/32gss -hostpg8000_password all 127.0.0.1/32password -hostpg8000_scram_sha_256 all127.0.0.1/32scram-sha-256 -hostall all 127.0.0.1/32trust -EOF - pg_ctl reload - # Upstream tests require LANG=en_GB.UTF-8 or LANG=C.UTF-8 :/ - # https://github.com/tlocke/pg8000/blob/1.19.2/test/native/test_typeconversion.py#L455-L458 - PYTHONPATH="$PWD" LANG=C.UTF-8 pytest test - pg_ctl stop -} - -package() { - cd pg8000-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: python-pg8000/repos/community-any/PKGBUILD (from rev 941147, python-pg8000/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-05-22 01:18:43 UTC (rev 941148) @@ -0,0 +1,78 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: quomoow + +pkgname=python-pg8000 +pkgver=1.19.5 +pkgrel=1 +pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" +arch=(any) +url='https://github.com/tlocke/pg8000' +license=(BSD) +makedepends=(python-setuptools) +checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark + python-pytz postgresql) +depends=(python python-scramp) +source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) +sha256sums=('dcb9afb9cb87acc79388ae633c45cf7f806aabe3bb5d8cf154572b699393f937' +'SKIP') +validpgpkeys=( + 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke +) + +prepare() { + cd pg8000-$pkgver + + # Remove upper bounds of dependencies + sed --in-place=.orig -r 's#,?<[0-9.]+,?##;s#==([0-9.]+)#>=\1#' setup.py + diff -u setup.py{.orig,} || true +} + +build() { + cd pg8000-$pkgver + python setup.py build +} + +check() { + cd pg8000-$pkgver + + export PGDATA="$srcdir/postgres-testdata" + export PGHOST=127.0.0.1 + export PGPORT=$((49152+$RANDOM%1)) + + # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing + initdb --username=postgres --auth=trust +
[arch-commits] Commit in python-pg8000/repos/community-any (PKGBUILD PKGBUILD)
Date: Thursday, May 6, 2021 @ 04:35:41 Author: yan12125 Revision: 928359 archrelease: copy trunk to community-any Added: python-pg8000/repos/community-any/PKGBUILD (from rev 928358, python-pg8000/trunk/PKGBUILD) Deleted: python-pg8000/repos/community-any/PKGBUILD --+ PKGBUILD | 156 ++--- 1 file changed, 78 insertions(+), 78 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-05-06 04:35:30 UTC (rev 928358) +++ PKGBUILD2021-05-06 04:35:41 UTC (rev 928359) @@ -1,78 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: quomoow - -pkgname=python-pg8000 -pkgver=1.19.2 -pkgrel=1 -pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" -arch=(any) -url='https://github.com/tlocke/pg8000' -license=(BSD) -makedepends=(python-setuptools) -checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark - python-pytz postgresql) -depends=(python python-scramp) -source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) -sha256sums=('44cbb4d3c912f2da167ca02bf98a0040f7e93260e4ef114c28d5d6152012ea07' -'SKIP') -validpgpkeys=( - 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke -) - -prepare() { - cd pg8000-$pkgver - - # Remove upper bounds of dependencies - sed --in-place=.orig -r 's#,?<[0-9.]+,?##;s#==([0-9.]+)#>=\1#' setup.py - diff -u setup.py{.orig,} || true -} - -build() { - cd pg8000-$pkgver - python setup.py build -} - -check() { - cd pg8000-$pkgver - - export PGDATA="$srcdir/postgres-testdata" - export PGHOST=127.0.0.1 - export PGPORT=$((49152+$RANDOM%1)) - - # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing - initdb --username=postgres --auth=trust - openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" - cat <> "$PGDATA/postgresql.conf" -ssl = on -ssl_cert_file = 'self-signed.crt' -ssl_key_file = 'self-signed.key' -password_encryption = 'scram-sha-256' -EOF - - pg_ctl start -o "-k '' -h $PGHOST -p $PGPORT" -l "$srcdir/postgresql.log" - # Change the password for postgres after password_encryption is specified, so that the role has a valid SCRAM secret - psql -U postgres -c " -CREATE EXTENSION hstore; -ALTER ROLE postgres PASSWORD 'pw'; - " - - # should overwrite pg_hba.conf, or unexpected matches may happen against existing entries - cat < "$PGDATA/pg_hba.conf" -hostpg8000_md5 all 127.0.0.1/32md5 -hostpg8000_gss all 127.0.0.1/32gss -hostpg8000_password all 127.0.0.1/32password -hostpg8000_scram_sha_256 all127.0.0.1/32scram-sha-256 -hostall all 127.0.0.1/32trust -EOF - pg_ctl reload - # Upstream tests require LANG=en_GB.UTF-8 or LANG=C.UTF-8 :/ - # https://github.com/tlocke/pg8000/blob/1.19.2/test/native/test_typeconversion.py#L455-L458 - PYTHONPATH="$PWD" LANG=C.UTF-8 pytest test - pg_ctl stop -} - -package() { - cd pg8000-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: python-pg8000/repos/community-any/PKGBUILD (from rev 928358, python-pg8000/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-05-06 04:35:41 UTC (rev 928359) @@ -0,0 +1,78 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: quomoow + +pkgname=python-pg8000 +pkgver=1.19.4 +pkgrel=1 +pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" +arch=(any) +url='https://github.com/tlocke/pg8000' +license=(BSD) +makedepends=(python-setuptools) +checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark + python-pytz postgresql) +depends=(python python-scramp) +source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) +sha256sums=('7c9c6d57541b0f2153e23a8d759ceb3d7cb9308918fba6ad9e92f8e0e5a90bc8' +'SKIP') +validpgpkeys=( + 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke +) + +prepare() { + cd pg8000-$pkgver + + # Remove upper bounds of dependencies + sed --in-place=.orig -r 's#,?<[0-9.]+,?##;s#==([0-9.]+)#>=\1#' setup.py + diff -u setup.py{.orig,} || true +} + +build() { + cd pg8000-$pkgver + python setup.py build +} + +check() { + cd pg8000-$pkgver + + export PGDATA="$srcdir/postgres-testdata" + export PGHOST=127.0.0.1 + export PGPORT=$((49152+$RANDOM%1)) + + # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing + initdb --username=postgres --auth=trust +
[arch-commits] Commit in python-pg8000/repos/community-any (PKGBUILD PKGBUILD)
Date: Monday, April 12, 2021 @ 01:05:35 Author: yan12125 Revision: 915844 archrelease: copy trunk to community-any Added: python-pg8000/repos/community-any/PKGBUILD (from rev 915843, python-pg8000/trunk/PKGBUILD) Deleted: python-pg8000/repos/community-any/PKGBUILD --+ PKGBUILD | 154 ++--- 1 file changed, 78 insertions(+), 76 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-04-12 01:05:21 UTC (rev 915843) +++ PKGBUILD2021-04-12 01:05:35 UTC (rev 915844) @@ -1,76 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: quomoow - -pkgname=python-pg8000 -pkgver=1.19.1 -pkgrel=1 -pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" -arch=(any) -url='https://github.com/tlocke/pg8000' -license=(BSD) -makedepends=(python-setuptools) -checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark - python-pytz postgresql) -depends=(python python-scramp) -source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) -sha256sums=('cb7ace8c582b7000a5ee428efa8ff6c82a7d710cc0f7d2d76258703a2aa7afe3' -'SKIP') -validpgpkeys=( - 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke -) - -prepare() { - cd pg8000-$pkgver - - # Remove upper bounds of dependencies - sed --in-place=.orig -r 's#,?<[0-9.]+,?##;s#==([0-9.]+)#>=\1#' setup.py - diff -u setup.py{.orig,} || true -} - -build() { - cd pg8000-$pkgver - python setup.py build -} - -check() { - cd pg8000-$pkgver - - export PGDATA="$srcdir/postgres-testdata" - export PGHOST=127.0.0.1 - export PGPORT=$((49152+$RANDOM%1)) - - # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing - initdb --username=postgres --auth=trust - openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" - cat <> "$PGDATA/postgresql.conf" -ssl = on -ssl_cert_file = 'self-signed.crt' -ssl_key_file = 'self-signed.key' -password_encryption = 'scram-sha-256' -EOF - - pg_ctl start -o "-k '' -h $PGHOST -p $PGPORT" -l "$srcdir/postgresql.log" - # Change the password for postgres after password_encryption is specified, so that the role has a valid SCRAM secret - psql -U postgres -c " -CREATE EXTENSION hstore; -ALTER ROLE postgres PASSWORD 'pw'; - " - - # should overwrite pg_hba.conf, or unexpected matches may happen against existing entries - cat < "$PGDATA/pg_hba.conf" -hostpg8000_md5 all 127.0.0.1/32md5 -hostpg8000_gss all 127.0.0.1/32gss -hostpg8000_password all 127.0.0.1/32password -hostpg8000_scram_sha_256 all127.0.0.1/32scram-sha-256 -hostall all 127.0.0.1/32trust -EOF - pg_ctl reload - PYTHONPATH="$PWD" pytest test - pg_ctl stop -} - -package() { - cd pg8000-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: python-pg8000/repos/community-any/PKGBUILD (from rev 915843, python-pg8000/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-04-12 01:05:35 UTC (rev 915844) @@ -0,0 +1,78 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: quomoow + +pkgname=python-pg8000 +pkgver=1.19.2 +pkgrel=1 +pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" +arch=(any) +url='https://github.com/tlocke/pg8000' +license=(BSD) +makedepends=(python-setuptools) +checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark + python-pytz postgresql) +depends=(python python-scramp) +source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) +sha256sums=('44cbb4d3c912f2da167ca02bf98a0040f7e93260e4ef114c28d5d6152012ea07' +'SKIP') +validpgpkeys=( + 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke +) + +prepare() { + cd pg8000-$pkgver + + # Remove upper bounds of dependencies + sed --in-place=.orig -r 's#,?<[0-9.]+,?##;s#==([0-9.]+)#>=\1#' setup.py + diff -u setup.py{.orig,} || true +} + +build() { + cd pg8000-$pkgver + python setup.py build +} + +check() { + cd pg8000-$pkgver + + export PGDATA="$srcdir/postgres-testdata" + export PGHOST=127.0.0.1 + export PGPORT=$((49152+$RANDOM%1)) + + # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing + initdb --username=postgres --auth=trust + openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" + cat <>
[arch-commits] Commit in python-pg8000/repos/community-any (PKGBUILD PKGBUILD)
Date: Sunday, April 4, 2021 @ 15:24:58 Author: yan12125 Revision: 911747 archrelease: copy trunk to community-any Added: python-pg8000/repos/community-any/PKGBUILD (from rev 911746, python-pg8000/trunk/PKGBUILD) Deleted: python-pg8000/repos/community-any/PKGBUILD --+ PKGBUILD | 152 ++--- 1 file changed, 76 insertions(+), 76 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-04-04 15:24:47 UTC (rev 911746) +++ PKGBUILD2021-04-04 15:24:58 UTC (rev 911747) @@ -1,76 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: quomoow - -pkgname=python-pg8000 -pkgver=1.19.0 -pkgrel=1 -pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" -arch=(any) -url='https://github.com/tlocke/pg8000' -license=(BSD) -makedepends=(python-setuptools) -checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark - python-pytz postgresql) -depends=(python python-scramp) -source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) -sha256sums=('11ec70c0b20ea440807e2c869940f1484eea93d71b435807b63856dd82b744dd' -'SKIP') -validpgpkeys=( - 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke -) - -prepare() { - cd pg8000-$pkgver - - # Remove upper bounds of dependencies - sed --in-place=.orig -r 's#,?<[0-9.]+,?##;s#==([0-9.]+)#>=\1#' setup.py - diff -u setup.py{.orig,} || true -} - -build() { - cd pg8000-$pkgver - python setup.py build -} - -check() { - cd pg8000-$pkgver - - export PGDATA="$srcdir/postgres-testdata" - export PGHOST=127.0.0.1 - export PGPORT=$((49152+$RANDOM%1)) - - # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing - initdb --username=postgres --auth=trust - openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" - cat <> "$PGDATA/postgresql.conf" -ssl = on -ssl_cert_file = 'self-signed.crt' -ssl_key_file = 'self-signed.key' -password_encryption = 'scram-sha-256' -EOF - - pg_ctl start -o "-k '' -h $PGHOST -p $PGPORT" -l "$srcdir/postgresql.log" - # Change the password for postgres after password_encryption is specified, so that the role has a valid SCRAM secret - psql -U postgres -c " -CREATE EXTENSION hstore; -ALTER ROLE postgres PASSWORD 'pw'; - " - - # should overwrite pg_hba.conf, or unexpected matches may happen against existing entries - cat < "$PGDATA/pg_hba.conf" -hostpg8000_md5 all 127.0.0.1/32md5 -hostpg8000_gss all 127.0.0.1/32gss -hostpg8000_password all 127.0.0.1/32password -hostpg8000_scram_sha_256 all127.0.0.1/32scram-sha-256 -hostall all 127.0.0.1/32trust -EOF - pg_ctl reload - PYTHONPATH="$PWD" pytest test - pg_ctl stop -} - -package() { - cd pg8000-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: python-pg8000/repos/community-any/PKGBUILD (from rev 911746, python-pg8000/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-04-04 15:24:58 UTC (rev 911747) @@ -0,0 +1,76 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: quomoow + +pkgname=python-pg8000 +pkgver=1.19.1 +pkgrel=1 +pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" +arch=(any) +url='https://github.com/tlocke/pg8000' +license=(BSD) +makedepends=(python-setuptools) +checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark + python-pytz postgresql) +depends=(python python-scramp) +source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) +sha256sums=('cb7ace8c582b7000a5ee428efa8ff6c82a7d710cc0f7d2d76258703a2aa7afe3' +'SKIP') +validpgpkeys=( + 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke +) + +prepare() { + cd pg8000-$pkgver + + # Remove upper bounds of dependencies + sed --in-place=.orig -r 's#,?<[0-9.]+,?##;s#==([0-9.]+)#>=\1#' setup.py + diff -u setup.py{.orig,} || true +} + +build() { + cd pg8000-$pkgver + python setup.py build +} + +check() { + cd pg8000-$pkgver + + export PGDATA="$srcdir/postgres-testdata" + export PGHOST=127.0.0.1 + export PGPORT=$((49152+$RANDOM%1)) + + # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing + initdb --username=postgres --auth=trust + openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" + cat <>
[arch-commits] Commit in python-pg8000/repos/community-any (PKGBUILD PKGBUILD)
Date: Monday, March 29, 2021 @ 18:51:48 Author: yan12125 Revision: 909459 archrelease: copy trunk to community-any Added: python-pg8000/repos/community-any/PKGBUILD (from rev 909458, python-pg8000/trunk/PKGBUILD) Deleted: python-pg8000/repos/community-any/PKGBUILD --+ PKGBUILD | 152 ++--- 1 file changed, 76 insertions(+), 76 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-03-29 18:51:38 UTC (rev 909458) +++ PKGBUILD2021-03-29 18:51:48 UTC (rev 909459) @@ -1,76 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: quomoow - -pkgname=python-pg8000 -pkgver=1.18.0 -pkgrel=1 -pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" -arch=(any) -url='https://github.com/tlocke/pg8000' -license=(BSD) -makedepends=(python-setuptools) -checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark - python-pytz postgresql) -depends=(python python-scramp) -source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) -sha256sums=('35baf2c8bf5445e85f516449474b547dbbd0e08c0baa3a6b20aa355a92eb72da' -'SKIP') -validpgpkeys=( - 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke -) - -prepare() { - cd pg8000-$pkgver - - # Remove upper bounds of dependencies - sed --in-place=.orig -r 's#,?<[0-9.]+,?##;s#==([0-9.]+)#>=\1#' setup.py - diff -u setup.py{.orig,} || true -} - -build() { - cd pg8000-$pkgver - python setup.py build -} - -check() { - cd pg8000-$pkgver - - export PGDATA="$srcdir/postgres-testdata" - export PGHOST=127.0.0.1 - export PGPORT=$((49152+$RANDOM%1)) - - # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing - initdb --username=postgres --auth=trust - openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" - cat <> "$PGDATA/postgresql.conf" -ssl = on -ssl_cert_file = 'self-signed.crt' -ssl_key_file = 'self-signed.key' -password_encryption = 'scram-sha-256' -EOF - - pg_ctl start -o "-k '' -h $PGHOST -p $PGPORT" -l "$srcdir/postgresql.log" - # Change the password for postgres after password_encryption is specified, so that the role has a valid SCRAM secret - psql -U postgres -c " -CREATE EXTENSION hstore; -ALTER ROLE postgres PASSWORD 'pw'; - " - - # should overwrite pg_hba.conf, or unexpected matches may happen against existing entries - cat < "$PGDATA/pg_hba.conf" -hostpg8000_md5 all 127.0.0.1/32md5 -hostpg8000_gss all 127.0.0.1/32gss -hostpg8000_password all 127.0.0.1/32password -hostpg8000_scram_sha_256 all127.0.0.1/32scram-sha-256 -hostall all 127.0.0.1/32trust -EOF - pg_ctl reload - PYTHONPATH="$PWD" pytest test - pg_ctl stop -} - -package() { - cd pg8000-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: python-pg8000/repos/community-any/PKGBUILD (from rev 909458, python-pg8000/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-03-29 18:51:48 UTC (rev 909459) @@ -0,0 +1,76 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: quomoow + +pkgname=python-pg8000 +pkgver=1.19.0 +pkgrel=1 +pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" +arch=(any) +url='https://github.com/tlocke/pg8000' +license=(BSD) +makedepends=(python-setuptools) +checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark + python-pytz postgresql) +depends=(python python-scramp) +source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) +sha256sums=('11ec70c0b20ea440807e2c869940f1484eea93d71b435807b63856dd82b744dd' +'SKIP') +validpgpkeys=( + 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke +) + +prepare() { + cd pg8000-$pkgver + + # Remove upper bounds of dependencies + sed --in-place=.orig -r 's#,?<[0-9.]+,?##;s#==([0-9.]+)#>=\1#' setup.py + diff -u setup.py{.orig,} || true +} + +build() { + cd pg8000-$pkgver + python setup.py build +} + +check() { + cd pg8000-$pkgver + + export PGDATA="$srcdir/postgres-testdata" + export PGHOST=127.0.0.1 + export PGPORT=$((49152+$RANDOM%1)) + + # See https://github.com/tlocke/pg8000#tests about database initialization steps for testing + initdb --username=postgres --auth=trust + openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 -keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt" + cat <>
[arch-commits] Commit in python-pg8000/repos/community-any (PKGBUILD PKGBUILD)
Date: Monday, February 8, 2021 @ 17:22:13 Author: yan12125 Revision: 849441 archrelease: copy trunk to community-any Added: python-pg8000/repos/community-any/PKGBUILD (from rev 849440, python-pg8000/trunk/PKGBUILD) Deleted: python-pg8000/repos/community-any/PKGBUILD --+ PKGBUILD | 109 +++-- 1 file changed, 56 insertions(+), 53 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-02-08 17:21:34 UTC (rev 849440) +++ PKGBUILD2021-02-08 17:22:13 UTC (rev 849441) @@ -1,53 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: quomoow - -pkgname=python-pg8000 -pkgver=1.16.6 -pkgrel=3 -pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" -arch=(any) -url='https://github.com/tlocke/pg8000' -license=(BSD) -makedepends=(python-setuptools) -checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark - python-pytz pifpaf postgresql) -depends=(python python-scramp) -source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc}) -sha256sums=('8fc1e6a62ccb7c9830f1e7e9288e2d20eaf373cc8875b5c55b7d5d9b7717be91' -'SKIP') -validpgpkeys=( - 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke -) - -prepare() { - cd pg8000-$pkgver - - # Remove upper bounds of dependencies - sed --in-place=.orig -r 's#,?<[0-9.]+,?##;s#==([0-9.]+)#>=\1#' setup.py - diff -u setup.py{.orig,} || true -} - -build() { - cd pg8000-$pkgver - python setup.py build -} - -check() { - cd pg8000-$pkgver - # See upstream .travis.yml for initialization SQL commands - # XXX: The postgres plugin in pifpaf does not listen on a TCP port - # without --host - # XXX: testGss and testSsl needs custom pg_hba.conf and postgresql.conf, - # and pifpaf does not support that yet - PYTHONPATH="$PWD" pifpaf run postgresql --host localhost -- bash -c " -psql -c \"CREATE ROLE postgres WITH LOGIN SUPERUSER PASSWORD 'pw';\" -psql -c \"create extension hstore;\" -pytest -v test -k 'not testGss and not testSsl' - " -} - -package() { - cd pg8000-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: python-pg8000/repos/community-any/PKGBUILD (from rev 849440, python-pg8000/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-02-08 17:22:13 UTC (rev 849441) @@ -0,0 +1,56 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: quomoow + +pkgname=python-pg8000 +pkgver=1.17.0 +pkgrel=1 +pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible" +arch=(any) +url='https://github.com/tlocke/pg8000' +license=(BSD) +makedepends=(python-setuptools) +checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark + python-pytz pifpaf postgresql) +depends=(python python-scramp) +source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc} +pghost-unix-sock.patch::https://github.com/tlocke/pg8000/pull/64.patch) +sha256sums=('14198c5afeb289106e40ee6e5e4c0529c5369939f6ca588a028b371a75fe20dd' +'SKIP' +'0a851dbbc0f8d0116795eb0d875e9178659bdf7c6964bff8b26c6b014c37e9c9') +validpgpkeys=( + 'D5681B7EC7292511C4CC1450892B00AB699851E8' # Tony Locke , proven by https://keybase.io/tlocke +) + +prepare() { + cd pg8000-$pkgver + + # Remove upper bounds of dependencies + sed --in-place=.orig -r 's#,?<[0-9.]+,?##;s#==([0-9.]+)#>=\1#' setup.py + diff -u setup.py{.orig,} || true + + patch -Np1 -i ../pghost-unix-sock.patch +} + +build() { + cd pg8000-$pkgver + python setup.py build +} + +check() { + cd pg8000-$pkgver + # GSS tests: need custom pg_hba.conf, while pifpaf does not support it yet + # SSL tests: need TCP connections [1][2], while pifpaf uses unix domain sockets + # [1] https://github.com/postgres/postgres/blob/REL_13_1/src/backend/postmaster/postmaster.c#L2027 + # [2] https://www.postgresql.org/message-id/flat/200801041713.22341.peter_e%40gmx.net + PYTHONPATH="$PWD" pifpaf run postgresql -- bash -c " +psql -c \"CREATE ROLE postgres WITH LOGIN SUPERUSER PASSWORD 'pw';\" +psql -c \"create extension hstore;\" +pytest test -k 'not testGss and not test_gss and not testSsl and not test_ssl' + " +} + +package() { + cd pg8000-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname +}