public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pgspecial/
Date: Mon, 30 Oct 2023 18:10:00 +0000 (UTC)	[thread overview]
Message-ID: <1698689078.e8e5411ffe9657bc0feb31f22434a226676ac089.mgorny@gentoo> (raw)

commit:     e8e5411ffe9657bc0feb31f22434a226676ac089
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 30 17:38:39 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Oct 30 18:04:38 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8e5411f

dev-python/pgspecial: Bump to 2.1.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pgspecial/Manifest               |  1 +
 dev-python/pgspecial/pgspecial-2.1.1.ebuild | 57 +++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)

diff --git a/dev-python/pgspecial/Manifest b/dev-python/pgspecial/Manifest
index 7da814a98290..986e37142784 100644
--- a/dev-python/pgspecial/Manifest
+++ b/dev-python/pgspecial/Manifest
@@ -1 +1,2 @@
 DIST pgspecial-2.1.0.tar.gz 50495 BLAKE2B 981f5a01ef32090eae7d477d23476fd8dd2a5bd3a5f3781e990cdbd28ebb24e5176653b7c8f9a1b7f1f01888a5c8278568257a709a5337f8b0d9838bfba8a21a SHA512 5bbd53d21ad89698b6ca04c989aa1ed59f3b8adc9b876b5b7db35bca03b964f645df2af96d3ddf6e7718c8ee06953fcf8f3ca548e65d722eaf4ea0098fa126ad
+DIST pgspecial-2.1.1.tar.gz 51017 BLAKE2B 170db33ca1629244b2c8c2d23a5768528e474660dcaf73079c516d33624202cc05487a338b21ac5bab28780d127923bf24d86231e85cade2f82714add5bdd789 SHA512 4ab8596536b90837c2ed0a11b6bbfecd6e5dc487b073a58a1406e8e70028ebb7010430784963fe27a08a5cc48292785f6d02affb750f4a1b74cbe33a0e06a5f0

diff --git a/dev-python/pgspecial/pgspecial-2.1.1.ebuild b/dev-python/pgspecial/pgspecial-2.1.1.ebuild
new file mode 100644
index 000000000000..0bfd1d36c343
--- /dev/null
+++ b/dev-python/pgspecial/pgspecial-2.1.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Python implementation of PostgreSQL meta commands"
+HOMEPAGE="
+	https://github.com/dbcli/pgspecial/
+	https://pypi.org/project/pgspecial/
+"
+
+LICENSE="BSD MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	>=dev-python/click-4.1[${PYTHON_USEDEP}]
+	>=dev-python/configobj-5.0.6[${PYTHON_USEDEP}]
+	>=dev-python/psycopg-3.0.10:0[${PYTHON_USEDEP}]
+	>=dev-python/sqlparse-0.1.19[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	test? (
+		>=dev-db/postgresql-8.1[server]
+	)
+"
+
+distutils_enable_tests pytest
+
+DOCS=( License.txt README.rst changelog.rst  )
+
+EPYTEST_DESELECT=(
+	# assumes a very specific locale
+	tests/test_specials.py::test_slash_l
+	tests/test_specials.py::test_slash_l_pattern
+)
+
+src_test() {
+	local db=${T}/pgsql
+
+	initdb --username=postgres -D "${db}" || die
+	# TODO: random port
+	pg_ctl -w -D "${db}" start \
+		-o "-h '127.0.0.1' -p 5432 -k '${T}'" || die
+	psql -h "${T}" -U postgres -d postgres \
+		-c "ALTER ROLE postgres WITH PASSWORD 'postgres';" || die
+	createdb -h "${T}" -U postgres _test_db || die
+
+	distutils-r1_src_test
+
+	pg_ctl -w -D "${db}" stop || die
+}


             reply	other threads:[~2023-10-30 18:10 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-30 18:10 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-15 17:33 [gentoo-commits] repo/gentoo:master commit in: dev-python/pgspecial/ Michał Górny
2024-06-01  8:09 Michał Górny
2024-06-01  7:25 Arthur Zamarin
2024-05-16  3:42 Michał Górny
2023-11-30 14:44 Michał Górny
2023-11-30 14:22 Michał Górny
2023-11-30 14:21 Michał Górny
2023-11-30 13:20 Michał Górny
2023-06-03 17:45 Michał Górny
2023-05-03  5:20 Michał Górny
2023-05-02 20:11 Sam James
2023-04-01  6:13 Michał Górny
2023-03-16 18:13 Michał Górny
2022-07-12  7:32 Michał Górny
2022-07-12  0:01 Sam James
2022-07-12  0:01 Sam James
2022-06-18  6:47 Michał Górny
2022-06-05  5:36 Michał Górny
2022-06-04  7:42 Michał Górny
2022-06-04  7:42 Michał Górny
2022-04-17 16:54 Michał Górny
2022-04-17  8:07 Jakov Smolić
2022-03-16 10:06 Michał Górny
2021-06-24  8:20 Michał Górny
2021-06-24  4:26 Agostino Sarubbo
2021-05-22  9:30 Michał Górny
2021-05-22  9:30 Michał Górny
2021-05-22  7:58 Michał Górny
2021-03-25 21:35 Michał Górny
2021-03-25 21:29 Sam James
2021-02-13  8:14 Michał Górny
2020-11-04  7:34 Michał Górny
2020-11-04  1:02 Sam James
2020-11-02 11:19 Michał Górny
2020-10-13 10:01 Agostino Sarubbo
2020-10-13  9:26 Agostino Sarubbo
2020-09-30  9:28 Joonas Niilola
2020-09-30  7:54 Joonas Niilola
2020-08-30  8:18 Joonas Niilola
2020-03-28 11:59 Michał Górny
2020-02-05 17:59 Michał Górny
2019-12-13 13:49 Joonas Niilola
2019-11-30  7:50 Joonas Niilola
2019-07-07 13:30 Michał Górny
2019-07-07 13:30 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1698689078.e8e5411ffe9657bc0feb31f22434a226676ac089.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox