Merge updates from master

This commit is contained in:
Repository mirror & CI
2024-07-05 14:33:53 +00:00
25 changed files with 327 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST django-browser-reload-1.13.0.gh.tar.gz 31384 BLAKE2B b3eef7078440ea2eef295d9d46654d836bd448c0afd38a8d95b5bc6d362f6445dec377777babad56864e9e6a075342d3b8977013233805576459d64526913a9c SHA512 e00fcec34fcf394ef2a1dc620f0b5ee77c199a763ffa58f7b379303d7ed133cc287e3301332062e92892b023f53990f4f6ee50b0042c3cddbb1a95628789a0be

View File

@@ -0,0 +1,33 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1
DESCRIPTION="Automatically reload your browser in development"
HOMEPAGE="
https://github.com/adamchainz/django-browser-reload
https://pypi.org/project/django-browser-reload/
"
SRC_URI="https://github.com/adamchainz/django-browser-reload/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/asgiref[${PYTHON_USEDEP}]
dev-python/django[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/pytest-django[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">adamchainz/django-browser-reload</remote-id>
<remote-id type="pypi">django-browser-reload</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1 @@
DIST django-constance-3.1.0.tar.gz 36806 BLAKE2B 83b436a98a59c640241c0f5850af3b7ddad743bd81e391dc2efadfa99882aa4342e8956768e2065a7015b2cff353ca9eab45c1507ba9787ad851e0c1ea3723a8 SHA512 c2bd130f168a06552aa4364e9c8e5bc7d928392c2e8965133315cc990b9fa23a5f7b63b01f096280247dd9f13f432edbdde098be02a525e4ed09995094dfdb31

View File

@@ -0,0 +1,30 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="Django live settings with pluggable backends, including Redis"
HOMEPAGE="
https://github.com/jazzband/django-constance
https://pypi.org/project/django-constance/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
# TODO: Find out how this is supposed to be run
RESTRICT="test"
RDEPEND="
dev-python/django[${PYTHON_USEDEP}]
dev-python/django-picklefield[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">jazzband/django-constance</remote-id>
<remote-id type="pypi">django-constance</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1 @@
DIST django-picklefield-3.2.0.gh.tar.gz 11908 BLAKE2B e6c31f88ab364d7f80a37dd40af34d3dd568e8497295ccef5e09781048e48d8745147b6f164cedd5b059a32cf00207ccc69399e2f07163ae1ebfc31e790b7e30 SHA512 6cbfd75f6c55e4f910a0334e872a1b51742474fd3cac253563f2971aaa6199268c73cf908fc37f7f5e8f758a9bfdde0fb1169deed61831f20510f07086de6799

View File

@@ -0,0 +1,29 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1
DESCRIPTION="Pickled object field for Django"
HOMEPAGE="
https://github.com/gintas/django-picklefield
https://pypi.org/project/django-picklefield/
"
SRC_URI="https://github.com/gintas/django-picklefield/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
# TODO: Find out how this is supposed to be run
RESTRICT="test"
RDEPEND="
dev-python/django[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">gintas/django-picklefield</remote-id>
<remote-id type="pypi">django-picklefield</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1 @@
DIST django_tailwind-3.8.0.tar.gz 8969 BLAKE2B ddc17680571081ebc864a3e5eddf6414be1f02e17c7f6d52aae14f6ea66d369f6fadede9946741c971755c380cf82a429467e5177c2edd66eac11bee806c34fc SHA512 6501ca2de280da4c5edbf8e1b0f22f02ebf5397eb11a0ec759e064228c28d0a3927684264e6cc5d5f83b5f030c5cd9e34f59516dba519126c2992115798f3abe

View File

@@ -0,0 +1,24 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="Tailwind CSS Framework for Django projects"
HOMEPAGE="
https://github.com/timonweb/django-tailwind
https://pypi.org/project/django-tailwind/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/django[${PYTHON_USEDEP}]
dev-python/django-browser-reload[${PYTHON_USEDEP}]
"

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">timonweb/django-tailwind</remote-id>
<remote-id type="pypi">django-tailwind</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1 @@
DIST django_tinymce-4.1.0.tar.gz 1087250 BLAKE2B 37e67144c3614c69583ce306b5d0944ae0fe82d406d753c9ef51c53121caa1a787ccfd1e6533d69b489b8920f76b3f89e0494d44de1953aa54ac250c227da9ae SHA512 02b4a742bb975cca6c2c64fe81eb6ce5c062b5b206ea3f91283272a72cd8d59cf02843411c3b966a36710a40f7be60cc243b76b963c1acff4c8a7a2fa43b8677

View File

@@ -0,0 +1,32 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="TinyMCE integration for Django"
HOMEPAGE="
https://github.com/jazzband/django-tinymce
https://pypi.org/project/django-tinymce
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
# TODO: Find out how this is supposed to be run
RESTRICT="test"
RDEPEND="
dev-python/django[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
python_test() {
${EPYTHON} runtests.py || die "Tests failed with ${EPYTHON}"
}

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">jazzband/django-tinymce</remote-id>
<remote-id type="pypi">django-tinymce</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1 @@
DIST fontawesomefree-6.5.1-py3-none-any.whl 25604778 BLAKE2B 5bed1c98800a0903682692cdc7436117b5502e7c1d5787d1c0dc2a5bb16d36057f97a42568e67eaff79681440ed0fe14dfc23bc1d3b4b6d2a3d20de046e15373 SHA512 8224d729454986173a616da35b6d40ccbca3cf61eaecf62741ecb5052a424c2dbeafb2b0d941afbb5a21b8c1e4473f7ca5ec1291c14d584de82016661c6f9120

View File

@@ -0,0 +1,26 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="Font Awesome Free"
HOMEPAGE="
https://github.com/FortAwesome/Font-Awesome
https://pypi.org/project/fontawesomefree/
"
SRC_URI=$(pypi_wheel_url)
S="${WORKDIR}"
LICENSE="CC-BY-4.0 OFL-1.1 MIT"
SLOT="0"
KEYWORDS="~amd64"
python_compile() {
distutils_wheel_install "${BUILD_DIR}/install" \
"${DISTDIR}/${P}-py3-none-any.whl"
}

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">FortAwesome/Font-Awesome</remote-id>
<remote-id type="pypi">fontawesomefree</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1 @@
DIST hashids-1.3.1.tar.gz 7884 BLAKE2B 5b4b303e014034a04d34b2abe3cf77a2b307822e0592023059759fda142390c56e66038042769474193f9d8c5657d5e9cb5d1cd87b36e931bef0130e3972c862 SHA512 feb3bd7e4afb7464e455dd421bed29af398cd8126e5fe0716ff85daa3c6fd79d3e9ae86affb9c5b0b2e1d805c4e00d83e2fe3369baf8fae91ee4b57bff5366b8

View File

@@ -0,0 +1,21 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="Implements the hashids algorithm in python"
HOMEPAGE="
https://hashids.org/python/
https://pypi.org/project/hashids/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
distutils_enable_tests pytest

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="pypi">hashids</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1 @@
DIST mollie-api-python-3.6.0.gh.tar.gz 89246 BLAKE2B 57e816fc67c65d079a430a19641a1341d8e9276a363865d9533949d4b81daa59a5c2d87741f919952c6fea0dd36e3f5344a574b97a454b68a8101cd63319d667 SHA512 e3e2e5844172d2b117a1e5a89714bf9d59251fe83a68b565dec00362b7c0c68aeb291559e9a745cc3ad083441423f82624df95da92e49beea586caabbc236411

View File

@@ -0,0 +1,13 @@
diff --git a/setup.py b/setup.py
index 3c0d5dc..da6d0e0 100644
--- a/setup.py
+++ b/setup.py
@@ -30,7 +30,7 @@ setup(
license="BSD",
long_description=get_long_description(),
long_description_content_type="text/markdown",
- packages=find_packages(),
+ packages=find_packages(exclude=["tests"]),
include_package_data=True,
package_data={
"mollie": ["py.typed"],

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">mollie/mollie-api-python</remote-id>
<remote-id type="pypi">mollie-api-python</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,48 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1
DESCRIPTION="Mollie API client for Python"
HOMEPAGE="
https://www.mollie.com/
https://github.com/mollie/mollie-api-python/
https://pypi.org/project/mollie-api-python/
"
SRC_URI="https://github.com/mollie/mollie-api-python/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]
dev-python/requests-oauthlib[${PYTHON_USEDEP}]
dev-python/urllib3[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/mock[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
dev-python/responses[${PYTHON_USEDEP}]
)
"
PATCHES=(
# https://github.com/mollie/mollie-api-python/pull/347
"${FILESDIR}/${P}-no-install-tests.patch"
)
distutils_enable_tests pytest
python_prepare_all() {
distutils-r1_python_prepare_all
# no pytest-cov
sed -e '/--cov/d' -e '/--no-cov-on-fail/d' -i pyproject.toml || die
}