mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 14:43:27 -04:00
dev-util/pifpaf: add 3.2.3, drop 3.1.5-r1
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
DIST pifpaf-3.1.5.tar.gz 189903 BLAKE2B 5742e995feeb91af41db20cc605e8a5f5f21f63281d4f66ba8b108310a88d716ab4be0a43e0371f10e7f3f42b693953b3344c648458999348b914e03abe462c8 SHA512 4e0f70740f8260cb3cf801ea97f1fa30e6b87cfc4112b5482389d0635e76bbc7f1561945397e4e6586116c49d11b1e8f721dd61dca82668833bf224f9ba3e94f
|
||||
DIST pifpaf-3.2.1.tar.gz 183005 BLAKE2B 4ce210af724bbe615a3ccf0b70cd1eb8f1f3b8e0bba1d80e157bdb96a6f705487283977b86aafd71483c750a0029bb2cd4c65c6b7694d47b539dff86be663572 SHA512 680d034e00b6491e1e7c56524b83be8d1853e41a6c3be0c8f9af5339d9a248f7d3ae21e801c10ccaf2f530ce36f8e33fdbe49196f7add69c9a85c8e89fdc02ac
|
||||
DIST pifpaf-3.2.3.tar.gz 185673 BLAKE2B f8e3f953e8f232120f320ee3f6914672c5f16fb9c4345a9391055c3e27169283a462eed745e0c2a337b03f64ba6822484cc9ff3d82c218b2bc5f321bb9432e6a SHA512 cb7f22ed1839e0615ce01414baf6113070a6cec8a6649beb3ea0e588c6d235f4b35c0a8daacafa098b9ba08975f61bb38e0784263aa9cb1037bf60df8b838d5f
|
||||
|
||||
17
dev-util/pifpaf/files/pifpaf-3.2.3-psql17.patch
Normal file
17
dev-util/pifpaf/files/pifpaf-3.2.3-psql17.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
Space after "-A" causes the following error in PostgreSQL 17:
|
||||
> initdb: error: invalid authentication method " trust" for "local"
|
||||
> connections
|
||||
|
||||
Commit: https://github.com/jd/pifpaf/commit/0f4abc1306563ccca72bddf89f430fcbd8a7a6e9
|
||||
|
||||
--- a/pifpaf/drivers/postgresql.py
|
||||
+++ b/pifpaf/drivers/postgresql.py
|
||||
@@ -53,7 +53,7 @@ class PostgreSQLDriver(drivers.Driver):
|
||||
self.putenv("PGDATABASE", "postgres", True)
|
||||
_, pgbindir = self._exec(["pg_config", "--bindir"], stdout=True)
|
||||
pgctl = os.path.join(pgbindir.strip().decode(), "pg_ctl")
|
||||
- self._exec([pgctl, "-o", "'-A trust'", "initdb"])
|
||||
+ self._exec([pgctl, "-o", "'-Atrust'", "initdb"])
|
||||
if not self.sync:
|
||||
cfgfile = os.path.join(self.tempdir, 'postgresql.conf')
|
||||
with open(cfgfile, 'a') as cfg:
|
||||
@@ -17,23 +17,21 @@ LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
# dev-python/pbr: for pbr.version
|
||||
# dev-python/setuptools: for pkg_resources and distutils
|
||||
RDEPEND="
|
||||
dev-python/click[${PYTHON_USEDEP}]
|
||||
dev-python/daiquiri[${PYTHON_USEDEP}]
|
||||
dev-python/fixtures[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/pbr[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/xattr[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/pbr[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
app-admin/consul
|
||||
app-admin/vault
|
||||
dev-db/etcd[server]
|
||||
dev-db/postgresql[server]
|
||||
dev-db/redis
|
||||
dev-python/httpbin[${PYTHON_USEDEP}]
|
||||
@@ -46,14 +44,21 @@ BDEPEND="
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.2.3-psql17.patch
|
||||
)
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# Need updates to new CLIs and APIs
|
||||
pifpaf/tests/test_drivers.py::TestDrivers::test_etcd
|
||||
pifpaf/tests/test_drivers.py::TestDrivers::test_influxdb
|
||||
pifpaf/tests/test_drivers.py::TestDrivers::test_mongodb
|
||||
pifpaf/tests/test_drivers.py::TestDrivers::test_redis_sentinel
|
||||
|
||||
# RabbitMQ wants to be run only as root
|
||||
pifpaf/tests/test_drivers.py::TestDrivers::test_rabbitmq
|
||||
pifpaf/tests/test_drivers.py::TestDrivers::test_rabbitmq_cluster
|
||||
pifpaf/tests/test_drivers.py::TestDrivers::test_redis_sentinel
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
|
||||
Reference in New Issue
Block a user