* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/notion-client/
@ 2022-12-12 20:26 Anna Vyalkova
0 siblings, 0 replies; 2+ messages in thread
From: Anna Vyalkova @ 2022-12-12 20:26 UTC (permalink / raw
To: gentoo-commits
commit: 27fff44f7789a8c9f161043e23637656d0e7fba8
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Mon Dec 12 19:19:35 2022 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Mon Dec 12 20:25:49 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=27fff44f
dev-python/notion-client: new package, add 2.0.0
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
dev-python/notion-client/Manifest | 1 +
dev-python/notion-client/metadata.xml | 12 +++++++
.../notion-client/notion-client-2.0.0.ebuild | 40 ++++++++++++++++++++++
3 files changed, 53 insertions(+)
diff --git a/dev-python/notion-client/Manifest b/dev-python/notion-client/Manifest
new file mode 100644
index 000000000..b9c37157c
--- /dev/null
+++ b/dev-python/notion-client/Manifest
@@ -0,0 +1 @@
+DIST notion-client-2.0.0.gh.tar.gz 29990 BLAKE2B e3a5304364e4f96d4bccd38c8579f47263a67f0daed59fabba835a8b7fd178b70f99df71369b67692f3bdbe6d1a7c4a387ba6cb75c9abee4b100e599b1bddaba SHA512 480c6c61fed474505ffa46f363bb3b244d611b9af42f1bb7ed1d66c6aee006aa1c5fa0adc48397f65b71608402d06b71b78c2a32e9dad13d7f36fe6a7223bb16
diff --git a/dev-python/notion-client/metadata.xml b/dev-python/notion-client/metadata.xml
new file mode 100644
index 000000000..4ab426889
--- /dev/null
+++ b/dev-python/notion-client/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>cyber+gentoo@sysrq.in</email>
+ <name>Anna</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">notion-client</remote-id>
+ <remote-id type="github">ramnes/notion-sdk-py</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/notion-client/notion-client-2.0.0.ebuild b/dev-python/notion-client/notion-client-2.0.0.ebuild
new file mode 100644
index 000000000..706bfb5be
--- /dev/null
+++ b/dev-python/notion-client/notion-client-2.0.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+MY_PN="notion-sdk-py"
+DESCRIPTION="Python client for the official Notion API"
+HOMEPAGE="
+ https://pypi.org/project/notion-client/
+ https://github.com/ramnes/notion-sdk-py
+"
+SRC_URI="https://github.com/ramnes/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="dev-python/httpx[${PYTHON_USEDEP}]"
+BDEPEND="
+ test? (
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+ dev-python/pytest-vcr[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ distutils-r1_python_prepare_all
+ rm setup.cfg || die
+}
+
+python_test() {
+ epytest -o "asyncio_mode=auto"
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/notion-client/
@ 2024-05-14 0:14 Julien Roy
0 siblings, 0 replies; 2+ messages in thread
From: Julien Roy @ 2024-05-14 0:14 UTC (permalink / raw
To: gentoo-commits
commit: 46a6493976400e397d980b59af7703da6b7be6dc
Author: Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Tue May 14 00:06:46 2024 +0000
Commit: Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Tue May 14 00:06:46 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=46a64939
dev-python/notion-client: enable py3.12
Closes: https://bugs.gentoo.org/931389
Signed-off-by: Julien Roy <julien <AT> jroy.ca>
dev-python/notion-client/notion-client-2.0.0.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-python/notion-client/notion-client-2.0.0.ebuild b/dev-python/notion-client/notion-client-2.0.0.ebuild
index 3d67a71ba9..4b6a621676 100644
--- a/dev-python/notion-client/notion-client-2.0.0.ebuild
+++ b/dev-python/notion-client/notion-client-2.0.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-05-14 0:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-12 20:26 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/notion-client/ Anna Vyalkova
-- strict thread matches above, loose matches on Subject: below --
2024-05-14 0:14 Julien Roy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox