dev-python/brevo-python: new package, add 1.2.0

Signed-off-by: Katalin Rebhan <kat@knifepoint.net>
This commit is contained in:
Katalin Rebhan committed 2026-10-21 01:43:33 +02:00
1 parent ddc75ced9e
commit 49c3ee73d9
4 files changed
+63

No files matched your search

+1
View File
@@ -0,0 +1 @@
DIST brevo-python-1.2.0.gh.tar.gz 563863 BLAKE2B b6a925430914ec0c627c6f12a3635b907bd70a2288cb055cd0297c14ff4a56e2d03ef44a011b6e7d3f9329235d59fb2126933584b0da100221733647e83098bf SHA512 706a29b988274116fce5479484df4428ed0efb59efbcb7d3ccc6bb1eea6070ebe7f3960c336a532c3d3449cacd294ffd2d0e7c4dfc93982607af6531b42cc9e4
@@ -0,0 +1,37 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..15} )
inherit distutils-r1
DESCRIPTION="Official SDK for the Brevo API"
HOMEPAGE="
https://brevo.com/
https://pypi.org/project/brevo-python/
https://github.com/getbrevo/brevo-python/"
SRC_URI="https://github.com/getbrevo/brevo-python/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
PATCHES=( "${FILESDIR}/1.2.0-dont-install-test.patch" )
LICENSE="MIT"
SLOT="1"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}]
>=dev-python/six-1.10[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.23[${PYTHON_USEDEP}]"
BDEPEND="
test? ( ${RDEPEND} )"
EPYTEST_PLUGINS=()
EPYTEST_IGNORE=(
# tries to load nonexistent module
test/test_configuration.py )
distutils_enable_tests pytest
@@ -0,0 +1,13 @@
diff --git a/setup.py b/setup.py
index acf468a..30648df 100644
--- a/setup.py
+++ b/setup.py
@@ -38,7 +38,7 @@ setup(
url="",
keywords=["Swagger", "Brevo API"],
install_requires=REQUIRES,
- packages=find_packages(),
+ packages=find_packages(exclude=["test"]),
include_package_data=True,
long_description="""\
Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | | 422 | Error. Unprocessable Entity | # noqa: E501
+12
View File
@@ -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">
<name>Katalin Rebhan</name>
<email>kat@knifepoint.net</email>
</maintainer>
<upstream>
<remote-id type="pypi">brevo-python</remote-id>
<remote-id type="github">getbrevo/brevo-python</remote-id>
</upstream>
</pkgmetadata>