diff --git a/dev-python/django-browser-reload/Manifest b/dev-python/django-browser-reload/Manifest new file mode 100644 index 0000000000..38a6e1af0f --- /dev/null +++ b/dev-python/django-browser-reload/Manifest @@ -0,0 +1 @@ +DIST django-browser-reload-1.13.0.gh.tar.gz 31384 BLAKE2B b3eef7078440ea2eef295d9d46654d836bd448c0afd38a8d95b5bc6d362f6445dec377777babad56864e9e6a075342d3b8977013233805576459d64526913a9c SHA512 e00fcec34fcf394ef2a1dc620f0b5ee77c199a763ffa58f7b379303d7ed133cc287e3301332062e92892b023f53990f4f6ee50b0042c3cddbb1a95628789a0be diff --git a/dev-python/django-browser-reload/django-browser-reload-1.13.0.ebuild b/dev-python/django-browser-reload/django-browser-reload-1.13.0.ebuild new file mode 100644 index 0000000000..75310cfbaa --- /dev/null +++ b/dev-python/django-browser-reload/django-browser-reload-1.13.0.ebuild @@ -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 diff --git a/dev-python/django-browser-reload/metadata.xml b/dev-python/django-browser-reload/metadata.xml new file mode 100644 index 0000000000..ca69e964fd --- /dev/null +++ b/dev-python/django-browser-reload/metadata.xml @@ -0,0 +1,8 @@ + + + + + adamchainz/django-browser-reload + django-browser-reload + + diff --git a/dev-python/django-constance/Manifest b/dev-python/django-constance/Manifest new file mode 100644 index 0000000000..7de4875892 --- /dev/null +++ b/dev-python/django-constance/Manifest @@ -0,0 +1 @@ +DIST django-constance-3.1.0.tar.gz 36806 BLAKE2B 83b436a98a59c640241c0f5850af3b7ddad743bd81e391dc2efadfa99882aa4342e8956768e2065a7015b2cff353ca9eab45c1507ba9787ad851e0c1ea3723a8 SHA512 c2bd130f168a06552aa4364e9c8e5bc7d928392c2e8965133315cc990b9fa23a5f7b63b01f096280247dd9f13f432edbdde098be02a525e4ed09995094dfdb31 diff --git a/dev-python/django-constance/django-constance-3.1.0.ebuild b/dev-python/django-constance/django-constance-3.1.0.ebuild new file mode 100644 index 0000000000..b3a4a3697b --- /dev/null +++ b/dev-python/django-constance/django-constance-3.1.0.ebuild @@ -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 diff --git a/dev-python/django-constance/metadata.xml b/dev-python/django-constance/metadata.xml new file mode 100644 index 0000000000..169b9e8a44 --- /dev/null +++ b/dev-python/django-constance/metadata.xml @@ -0,0 +1,8 @@ + + + + + jazzband/django-constance + django-constance + + diff --git a/dev-python/django-picklefield/Manifest b/dev-python/django-picklefield/Manifest new file mode 100644 index 0000000000..5c80dba337 --- /dev/null +++ b/dev-python/django-picklefield/Manifest @@ -0,0 +1 @@ +DIST django-picklefield-3.2.0.gh.tar.gz 11908 BLAKE2B e6c31f88ab364d7f80a37dd40af34d3dd568e8497295ccef5e09781048e48d8745147b6f164cedd5b059a32cf00207ccc69399e2f07163ae1ebfc31e790b7e30 SHA512 6cbfd75f6c55e4f910a0334e872a1b51742474fd3cac253563f2971aaa6199268c73cf908fc37f7f5e8f758a9bfdde0fb1169deed61831f20510f07086de6799 diff --git a/dev-python/django-picklefield/django-picklefield-3.2.0.ebuild b/dev-python/django-picklefield/django-picklefield-3.2.0.ebuild new file mode 100644 index 0000000000..f7ea9219ef --- /dev/null +++ b/dev-python/django-picklefield/django-picklefield-3.2.0.ebuild @@ -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 diff --git a/dev-python/django-picklefield/metadata.xml b/dev-python/django-picklefield/metadata.xml new file mode 100644 index 0000000000..de2928e067 --- /dev/null +++ b/dev-python/django-picklefield/metadata.xml @@ -0,0 +1,8 @@ + + + + + gintas/django-picklefield + django-picklefield + + diff --git a/dev-python/django-tailwind/Manifest b/dev-python/django-tailwind/Manifest new file mode 100644 index 0000000000..3bc4b7c3e3 --- /dev/null +++ b/dev-python/django-tailwind/Manifest @@ -0,0 +1 @@ +DIST django_tailwind-3.8.0.tar.gz 8969 BLAKE2B ddc17680571081ebc864a3e5eddf6414be1f02e17c7f6d52aae14f6ea66d369f6fadede9946741c971755c380cf82a429467e5177c2edd66eac11bee806c34fc SHA512 6501ca2de280da4c5edbf8e1b0f22f02ebf5397eb11a0ec759e064228c28d0a3927684264e6cc5d5f83b5f030c5cd9e34f59516dba519126c2992115798f3abe diff --git a/dev-python/django-tailwind/django-tailwind-3.8.0.ebuild b/dev-python/django-tailwind/django-tailwind-3.8.0.ebuild new file mode 100644 index 0000000000..e51d0a2763 --- /dev/null +++ b/dev-python/django-tailwind/django-tailwind-3.8.0.ebuild @@ -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}] +" diff --git a/dev-python/django-tailwind/metadata.xml b/dev-python/django-tailwind/metadata.xml new file mode 100644 index 0000000000..1f4b1c0876 --- /dev/null +++ b/dev-python/django-tailwind/metadata.xml @@ -0,0 +1,8 @@ + + + + + timonweb/django-tailwind + django-tailwind + + diff --git a/dev-python/django-tinymce/Manifest b/dev-python/django-tinymce/Manifest new file mode 100644 index 0000000000..d9c4b6079d --- /dev/null +++ b/dev-python/django-tinymce/Manifest @@ -0,0 +1 @@ +DIST django_tinymce-4.1.0.tar.gz 1087250 BLAKE2B 37e67144c3614c69583ce306b5d0944ae0fe82d406d753c9ef51c53121caa1a787ccfd1e6533d69b489b8920f76b3f89e0494d44de1953aa54ac250c227da9ae SHA512 02b4a742bb975cca6c2c64fe81eb6ce5c062b5b206ea3f91283272a72cd8d59cf02843411c3b966a36710a40f7be60cc243b76b963c1acff4c8a7a2fa43b8677 diff --git a/dev-python/django-tinymce/django-tinymce-4.1.0.ebuild b/dev-python/django-tinymce/django-tinymce-4.1.0.ebuild new file mode 100644 index 0000000000..636a23bb67 --- /dev/null +++ b/dev-python/django-tinymce/django-tinymce-4.1.0.ebuild @@ -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}" +} diff --git a/dev-python/django-tinymce/metadata.xml b/dev-python/django-tinymce/metadata.xml new file mode 100644 index 0000000000..723be24455 --- /dev/null +++ b/dev-python/django-tinymce/metadata.xml @@ -0,0 +1,8 @@ + + + + + jazzband/django-tinymce + django-tinymce + + diff --git a/dev-python/fontawesomefree/Manifest b/dev-python/fontawesomefree/Manifest new file mode 100644 index 0000000000..6470a4df1e --- /dev/null +++ b/dev-python/fontawesomefree/Manifest @@ -0,0 +1 @@ +DIST fontawesomefree-6.5.1-py3-none-any.whl 25604778 BLAKE2B 5bed1c98800a0903682692cdc7436117b5502e7c1d5787d1c0dc2a5bb16d36057f97a42568e67eaff79681440ed0fe14dfc23bc1d3b4b6d2a3d20de046e15373 SHA512 8224d729454986173a616da35b6d40ccbca3cf61eaecf62741ecb5052a424c2dbeafb2b0d941afbb5a21b8c1e4473f7ca5ec1291c14d584de82016661c6f9120 diff --git a/dev-python/fontawesomefree/fontawesomefree-6.5.1.ebuild b/dev-python/fontawesomefree/fontawesomefree-6.5.1.ebuild new file mode 100644 index 0000000000..71a40dd6d3 --- /dev/null +++ b/dev-python/fontawesomefree/fontawesomefree-6.5.1.ebuild @@ -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" +} diff --git a/dev-python/fontawesomefree/metadata.xml b/dev-python/fontawesomefree/metadata.xml new file mode 100644 index 0000000000..640cef9051 --- /dev/null +++ b/dev-python/fontawesomefree/metadata.xml @@ -0,0 +1,8 @@ + + + + + FortAwesome/Font-Awesome + fontawesomefree + + diff --git a/dev-python/hashids/Manifest b/dev-python/hashids/Manifest new file mode 100644 index 0000000000..24ee2e2de0 --- /dev/null +++ b/dev-python/hashids/Manifest @@ -0,0 +1 @@ +DIST hashids-1.3.1.tar.gz 7884 BLAKE2B 5b4b303e014034a04d34b2abe3cf77a2b307822e0592023059759fda142390c56e66038042769474193f9d8c5657d5e9cb5d1cd87b36e931bef0130e3972c862 SHA512 feb3bd7e4afb7464e455dd421bed29af398cd8126e5fe0716ff85daa3c6fd79d3e9ae86affb9c5b0b2e1d805c4e00d83e2fe3369baf8fae91ee4b57bff5366b8 diff --git a/dev-python/hashids/hashids-1.3.1.ebuild b/dev-python/hashids/hashids-1.3.1.ebuild new file mode 100644 index 0000000000..8340fedd5e --- /dev/null +++ b/dev-python/hashids/hashids-1.3.1.ebuild @@ -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 diff --git a/dev-python/hashids/metadata.xml b/dev-python/hashids/metadata.xml new file mode 100644 index 0000000000..f4c7f187bf --- /dev/null +++ b/dev-python/hashids/metadata.xml @@ -0,0 +1,7 @@ + + + + + hashids + + diff --git a/dev-python/mollie-api-python/Manifest b/dev-python/mollie-api-python/Manifest new file mode 100644 index 0000000000..a82e8dbc60 --- /dev/null +++ b/dev-python/mollie-api-python/Manifest @@ -0,0 +1 @@ +DIST mollie-api-python-3.6.0.gh.tar.gz 89246 BLAKE2B 57e816fc67c65d079a430a19641a1341d8e9276a363865d9533949d4b81daa59a5c2d87741f919952c6fea0dd36e3f5344a574b97a454b68a8101cd63319d667 SHA512 e3e2e5844172d2b117a1e5a89714bf9d59251fe83a68b565dec00362b7c0c68aeb291559e9a745cc3ad083441423f82624df95da92e49beea586caabbc236411 diff --git a/dev-python/mollie-api-python/files/mollie-api-python-3.6.0-no-install-tests.patch b/dev-python/mollie-api-python/files/mollie-api-python-3.6.0-no-install-tests.patch new file mode 100644 index 0000000000..782e078f7e --- /dev/null +++ b/dev-python/mollie-api-python/files/mollie-api-python-3.6.0-no-install-tests.patch @@ -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"], diff --git a/dev-python/mollie-api-python/metadata.xml b/dev-python/mollie-api-python/metadata.xml new file mode 100644 index 0000000000..443235ca39 --- /dev/null +++ b/dev-python/mollie-api-python/metadata.xml @@ -0,0 +1,8 @@ + + + + + mollie/mollie-api-python + mollie-api-python + + diff --git a/dev-python/mollie-api-python/mollie-api-python-3.6.0.ebuild b/dev-python/mollie-api-python/mollie-api-python-3.6.0.ebuild new file mode 100644 index 0000000000..7788e858c7 --- /dev/null +++ b/dev-python/mollie-api-python/mollie-api-python-3.6.0.ebuild @@ -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 +}