Compare commits

...

8 commits

Author SHA1 Message Date
Alarig Le Lay 60b4f056a4
metadata/md5-cache: for netbox
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
2024-08-27 18:14:11 +02:00
Alarig Le Lay 2069d8af62
www-apps/netbox: add 3.5.8
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
2024-08-27 18:14:01 +02:00
Alarig Le Lay 87deffe716
dev-python/tablib: add 3.5.0
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
2024-08-27 18:10:45 +02:00
Alarig Le Lay 6a0e3a3f79
dev-python/social-auth-app-django: add 5.2.0
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
2024-08-27 18:08:13 +02:00
Alarig Le Lay 8b05dfa840
dev-python/drf-spectacular-sidecar: new package, add 2023.8.1
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
2024-08-27 18:06:26 +02:00
Alarig Le Lay f457fe4108
dev-python/drf-spectacular: new package, add 0.26.4
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
2024-08-27 17:58:46 +02:00
Alarig Le Lay 2ae2474179
dev-python/django-rq: add 2.8.1
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
2024-08-27 17:46:55 +02:00
Alarig Le Lay 00efffc01a
dev-python/django-rich: add 1.7.0
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
2024-08-27 17:45:15 +02:00
23 changed files with 551 additions and 0 deletions

View file

@ -1 +1,2 @@
DIST django_rich-1.5.0.tar.gz 61805 BLAKE2B 2da59fc076d43840afbb93ed57f10ce50be16e52829aadeddbf44f0ac29c65025c8cfb43b18bc03c96acb5522bc76034f5c33094bcdd1620bd0aa04a1781ed0a SHA512 3796b33e15e79ac7260a895d6c87e9e95cbd30a6c7d1cf4540019c9242b4f02113df2ed394fff0c8f32166cd01f9d242f7c3dcec4e6c826fd9daba6a52dbb489
DIST django_rich-1.7.0.tar.gz 58968 BLAKE2B 766eaadcbf93698f8f95e41a4f81852d8cb5c09a2a7c3c31f1b9ac5fb76028c40e067d7635bac2671d35bb7f07140dbffe5b6233bdc86c61f4aad5a6b8ce7fd7 SHA512 b509522281777e9c98543797ffe773ecf90856c234ab09939f780ac255a1eda21afa6abed4ace7f92291f9e87e23bab08181b5362d6801828e3e2e61436a1d11

View file

@ -0,0 +1,23 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="Extensions for using Rich with Django"
HOMEPAGE="
https://pypi.org/project/django-rich/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/django-3.2[${PYTHON_USEDEP}]
>=dev-python/rich-10.0.0[${PYTHON_USEDEP}]
"

View file

@ -1,3 +1,4 @@
DIST django-rq-2.5.1.tar.gz 119721 BLAKE2B a3b62cb6be051ddeb4f97aceee47a7637a3be77f139380c33e1ba2a04585a420c150234317cdeef577f9b0cccefe37aa4f7d9c5ffb141dff00bb13a1580541a1 SHA512 c050752f078b6bad535b58a50594536e55c0d62a88539b58d474532083841e9acd1883a260a1329850e124d380d2b19ef342d929c9a24349321d6f78836b40b4
DIST django-rq-2.6.0.tar.gz 120064 BLAKE2B 7309a712d178129f0cedd5a677f62d3e3a583ec4f39c19f0bc18386645396a74c1e7bc037defa71a38f8a3c9ed363d7bb1e070ff98db8549fdeb33e22adc0132 SHA512 9d596590ca8a690575fdb3c5b5f3a927e477fc87654e0b971575e88c83ca5d9f9150517194db81eb4caac862debf33d7c6a9694feda27af8cbd25cda296191f9
DIST django-rq-2.7.0.tar.gz 120500 BLAKE2B 90ee4510ee120b50f0d2d33b16ff146c1d97b5662417540b8365fddf0a8f740324a8e9835fac6940e4abed1bccee8c65a41576da229374641ca90c06a1c48ea1 SHA512 34a235b86155290745fc614c22270187579c5e55e6c5bd553f14408ee7c67a08bf77fac1420d52898333cf358f22e223303f5d9cca71d352bf9d7b3232947c9b
DIST django-rq-2.8.1.tar.gz 122672 BLAKE2B deb838a9db8c4745e24c8429eda24b5b1539fdfb8c4f92293db186625a68194d84a2efdda78e2aa21b82051452bc8b9787bf94a7a8f916567bcfac0fcae2cadb SHA512 9b54606eae3bd8517a8193a50905b4071e4ee6c5c4dede6be2602b15399a5575970cdbc8e2bdc8ddf6f18cc1684cf60a1a388a2ba9a2424f47078f9a170768ee

View file

@ -0,0 +1,23 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..12} )
inherit distutils-r1
DESCRIPTION="A simple app that provides django integration for RQ (Redis Queue)"
HOMEPAGE="https://github.com/rq/django-rq/"
SRC_URI="https://github.com/rq/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
>=dev-python/django-2.0[${PYTHON_USEDEP}]
>=dev-python/rq-1.14[${PYTHON_USEDEP}]
>=dev-python/redis-3[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}"

View file

@ -0,0 +1 @@
DIST drf-spectacular-sidecar-2023.8.1.tar.gz 2619788 BLAKE2B 6bef0db1630c7b903d57df58095d02511ae4373dee7356a078916049216e514407d7c6c515e4e27f3a85d3d684ab2fd2450cc66684997df06916719936c2fe5b SHA512 ff705a8aef8ccb5520fb08793295069fd742f3435adc4fa2912b9989f80380ca8f590925a70ad367982c16a7c3714057d382b98d9fecf371689eff699a7b7906

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=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="Serve self-contained distribution builds of Swagger UI and Redoc"
HOMEPAGE="
https://pypi.org/project/drf-spectacular-sidecar/
"
SRC_URI="$(pypi_sdist_url --no-normalize)"
S="${WORKDIR}/${P/_/-}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/django-2.2[${PYTHON_USEDEP}]
"

View file

@ -0,0 +1 @@
DIST drf-spectacular-0.26.4.tar.gz 219010 BLAKE2B 34b11c3fbe072104f228e48dd8cbd8959607b9391fa74ab970ab78ce2f31eae186165a8f5277f89997ccad397c3f28ddf107f74162f5b134d38469b25958adad SHA512 5ea90e78d9b159fee9d08b9809ed387ed5e2bfab46a877718c04829614ba46960bc813d7e6122b4302c2c11b2aac194c0b2a5202f5ff245062d861ca4d8f824b

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
PYTHON_COMPAT=( python3_{11..12} )
inherit distutils-r1 pypi
DESCRIPTION="Sane and flexible OpenAPI 3 schema generation for Django"
HOMEPAGE="
https://pypi.org/project/drf-spectacular/
"
SRC_URI="$(pypi_sdist_url --no-normalize)"
S="${WORKDIR}/${P/_/-}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/django-2.2[${PYTHON_USEDEP}]
>=dev-python/djangorestframework-3.10.3[${PYTHON_USEDEP}]
>=dev-python/uritemplate-2.0.0[${PYTHON_USEDEP}]
>=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
>=dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}]
>=dev-python/inflection-0.3.1[${PYTHON_USEDEP}]
dev-python/typing-extensions[${PYTHON_USEDEP}]
"

View file

@ -1 +1,2 @@
DIST social-app-django-5.0.0.tar.gz 27352 BLAKE2B d5fd35b1e5f9bcfcb450b82a1bdddf59c2148e79455873dfb1f6310c0abba307664278814798af72dd5b923916b618401f81b57fbf625bbd00b732919a41d877 SHA512 86de9c392e1f942709c44ab6aa1151cb236432837319309f966efa64c2bf558e23a3e9241c5e4e923d0bd7cee077a1096a34b417b57ac4c84501a6b17f328af6
DIST social-app-django-5.2.0.tar.gz 28225 BLAKE2B c1fe2b344733c204d48f89bee4b7c9b365ea67d007a2451734a985e529b6aee3ab81ab4f5691ab32636141530b4f10895729ae1c97414e7250d021f3fe2348a8 SHA512 48c05ea06b0ddeaf7f78d2d7dc7759835eef8ee72e85d8864fc91689186cabf7f5f7b739362ec424e8e87afa212dd855f95d1c392dac4f91621b5f6cee2ff97a

View file

@ -0,0 +1,32 @@
# Copyright 1999-2022 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
MY_PN="${PN//-auth/}"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Python Social Auth - Application - Django"
HOMEPAGE="https://github.com/python-social-auth/social-app-django"
SRC_URI="https://github.com/python-social-auth/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/django-3.2[${PYTHON_USEDEP}]
dev-python/social-auth-core[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
python_test() {
"${PYTHON}" manage.py test -v2 || die "tests failed with ${EPYTHON}"
}

View file

@ -1,3 +1,4 @@
DIST tablib-3.2.0.tar.gz 96566 BLAKE2B cc32d8b34ef9eb665010a6ad36f5894b0d7840c57f5e4cad55417512d165db717a19df23867a812c03fb8447a95275dc7e5ad6b07aab88e0e310e78ba1039173 SHA512 998452ff3283e2eacc46a9430434dd54775d82b75962f715f9a93f5c9bafdbec20d8e54016b150448f3d2d36d414722b9650be4343b7260cac035ee6b4ecdf72
DIST tablib-3.2.1.tar.gz 96754 BLAKE2B 60e58fae3d43730c9e5ac67c4b4905cef7b79c009f474cc46e5b9e0e5e1e7fbee87ce68f5bdc4894482b519db106d27f01c9b0d4b31c34cf8c36d95dd82380a4 SHA512 162c63bf0bc32b54a94bc0612046d48c8966dea7e35ac4f303db06fd36f104f8d249f6f898b2a068ca870ea0ec8bba9e53bd8b2ee0809580dc2c6f17d7602d1f
DIST tablib-3.4.0.tar.gz 94510 BLAKE2B 950137a3e4ea0eb0392bcda815ff8cba4a32c1442e686670697886e302dfe9b4c9ecf7f7b7e7b43c1728ca6b30e8e3116002b01c29d4eb0df601972277aecfa8 SHA512 bc7aa3c378211ec9b81cfa24a9052977cdf13a867ac8dd0a1b1ada0c0835e3bce47951b2ecc182dedc01781f81c73f433379486390d5f142dd06bda6d891a1c9
DIST tablib-3.5.0.tar.gz 94795 BLAKE2B d94f099b45fb76a5e06309a532641e6b1f0cc5e9c0264a2e051b6f44b2a2f6d3de6775884ff0e5f24af0cfc58c6753d58b2c7d79283e83c3770046d63955d4c3 SHA512 cc47bc6087040abb1e9cbcc31b3a75c2a977edb1fdf840a4da72457a0a802f475d703e1fe586d8c8dad8dcb643b79f517aaee5e176ee50cf63fb4d6d73ea2bdd

View file

@ -0,0 +1,36 @@
# Copyright 1999-2021 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="Format-agnostic tabular dataset library"
HOMEPAGE="https://pypi.org/project/tablib/ https://github.com/jazzband/tablib/"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND="
test? (
dev-python/markuppy[${PYTHON_USEDEP}]
dev-python/odfpy[${PYTHON_USEDEP}]
dev-python/openpyxl[${PYTHON_USEDEP}]
dev-python/pandas[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/tabulate[${PYTHON_USEDEP}]
dev-python/xlrd[${PYTHON_USEDEP}]
dev-python/xlwt[${PYTHON_USEDEP}]
)
"
src_prepare() {
sed -i -e 's:addopts = -rsxX --showlocals --tb=native --cov=tablib --cov=tests --cov-report xml --cov-report term --cov-report html:addopts = -rsxX --showlocals --tb=native:' pytest.ini || die
distutils-r1_src_prepare
}
distutils_enable_tests pytest

View file

@ -0,0 +1,15 @@
BDEPEND=python_targets_python3_11? ( dev-lang/python:3.11 ) python_targets_python3_12? ( dev-lang/python:3.12 ) python_targets_python3_13? ( dev-lang/python:3.13 ) >=dev-python/gpep517-15[python_targets_python3_11(-)?,python_targets_python3_12(-)?,python_targets_python3_13(-)?] >=dev-python/setuptools-69.0.3[python_targets_python3_11(-)?,python_targets_python3_12(-)?,python_targets_python3_13(-)?]
DEFINED_PHASES=compile configure install prepare test
DESCRIPTION=Extensions for using Rich with Django
EAPI=8
HOMEPAGE=https://pypi.org/project/django-rich/
INHERIT=distutils-r1 pypi
IUSE=python_targets_python3_11 python_targets_python3_12 python_targets_python3_13
KEYWORDS=~amd64
LICENSE=MIT
RDEPEND=>=dev-python/django-3.2[python_targets_python3_11(-)?,python_targets_python3_12(-)?,python_targets_python3_13(-)?] >=dev-python/rich-10.0.0[python_targets_python3_11(-)?,python_targets_python3_12(-)?,python_targets_python3_13(-)?] python_targets_python3_11? ( dev-lang/python:3.11 ) python_targets_python3_12? ( dev-lang/python:3.12 ) python_targets_python3_13? ( dev-lang/python:3.13 )
REQUIRED_USE=|| ( python_targets_python3_11 python_targets_python3_12 python_targets_python3_13 )
SLOT=0
SRC_URI=https://files.pythonhosted.org/packages/source/d/django-rich/django_rich-1.7.0.tar.gz
_eclasses_=toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 flag-o-matic e503ea5acc20410237ba33ec3f7c857d out-of-source-utils 1a9007554652a6e627edbccb3c25a439 multibuild d67e78a235f541871c7dfe4cf7931489 multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 python-utils-r1 8b220bbce5c119fb1d4d5c2f5588f3ea python-r1 428f5c53276c2adc06a89108fc2f9f46 distutils-r1 ac3ce68c875c9b392338dcd64f7feb73 pypi 2eecb475512bc76e5ea9192a681b9e6b
_md5_=777cbff7b5bf3ecc9a0dca4d6bcfc829

View file

@ -0,0 +1,16 @@
BDEPEND=python_targets_python3_11? ( dev-lang/python:3.11 ) python_targets_python3_12? ( dev-lang/python:3.12 ) >=dev-python/gpep517-15[python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/setuptools-69.0.3[python_targets_python3_11(-)?,python_targets_python3_12(-)?]
DEFINED_PHASES=compile configure install prepare test
DEPEND=>=dev-python/django-2.0[python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/rq-1.14[python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/redis-3[python_targets_python3_11(-)?,python_targets_python3_12(-)?]
DESCRIPTION=A simple app that provides django integration for RQ (Redis Queue)
EAPI=8
HOMEPAGE=https://github.com/rq/django-rq/
INHERIT=distutils-r1
IUSE=python_targets_python3_11 python_targets_python3_12
KEYWORDS=~amd64
LICENSE=MIT
RDEPEND=>=dev-python/django-2.0[python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/rq-1.14[python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/redis-3[python_targets_python3_11(-)?,python_targets_python3_12(-)?] python_targets_python3_11? ( dev-lang/python:3.11 ) python_targets_python3_12? ( dev-lang/python:3.12 )
REQUIRED_USE=|| ( python_targets_python3_11 python_targets_python3_12 )
SLOT=0
SRC_URI=https://github.com/rq/django-rq/archive/refs/tags/v2.8.1.tar.gz -> django-rq-2.8.1.tar.gz
_eclasses_=toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 flag-o-matic e503ea5acc20410237ba33ec3f7c857d out-of-source-utils 1a9007554652a6e627edbccb3c25a439 multibuild d67e78a235f541871c7dfe4cf7931489 multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 python-utils-r1 8b220bbce5c119fb1d4d5c2f5588f3ea python-r1 428f5c53276c2adc06a89108fc2f9f46 distutils-r1 ac3ce68c875c9b392338dcd64f7feb73
_md5_=135d4edb2e97fa1cc6c066aed8dfcc4c

View file

@ -0,0 +1,15 @@
BDEPEND=python_targets_python3_11? ( dev-lang/python:3.11 ) python_targets_python3_12? ( dev-lang/python:3.12 ) >=dev-python/gpep517-15[python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/setuptools-69.0.3[python_targets_python3_11(-)?,python_targets_python3_12(-)?]
DEFINED_PHASES=compile configure install prepare test
DESCRIPTION=Sane and flexible OpenAPI 3 schema generation for Django
EAPI=8
HOMEPAGE=https://pypi.org/project/drf-spectacular/
INHERIT=distutils-r1 pypi
IUSE=python_targets_python3_11 python_targets_python3_12
KEYWORDS=~amd64
LICENSE=BSD
RDEPEND=>=dev-python/django-2.2[python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/djangorestframework-3.10.3[python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/uritemplate-2.0.0[python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/pyyaml-5.1[python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/jsonschema-2.6.0[python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/inflection-0.3.1[python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/typing-extensions[python_targets_python3_11(-)?,python_targets_python3_12(-)?] python_targets_python3_11? ( dev-lang/python:3.11 ) python_targets_python3_12? ( dev-lang/python:3.12 )
REQUIRED_USE=|| ( python_targets_python3_11 python_targets_python3_12 )
SLOT=0
SRC_URI=https://files.pythonhosted.org/packages/source/d/drf-spectacular/drf-spectacular-0.26.4.tar.gz
_eclasses_=toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 flag-o-matic e503ea5acc20410237ba33ec3f7c857d out-of-source-utils 1a9007554652a6e627edbccb3c25a439 multibuild d67e78a235f541871c7dfe4cf7931489 multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 python-utils-r1 8b220bbce5c119fb1d4d5c2f5588f3ea python-r1 428f5c53276c2adc06a89108fc2f9f46 distutils-r1 ac3ce68c875c9b392338dcd64f7feb73 pypi 2eecb475512bc76e5ea9192a681b9e6b
_md5_=dac2da304a80689c8a7929f6402a447e

View file

@ -0,0 +1,15 @@
BDEPEND=python_targets_python3_11? ( dev-lang/python:3.11 ) python_targets_python3_12? ( dev-lang/python:3.12 ) python_targets_python3_13? ( dev-lang/python:3.13 ) >=dev-python/gpep517-15[python_targets_python3_11(-)?,python_targets_python3_12(-)?,python_targets_python3_13(-)?] >=dev-python/setuptools-69.0.3[python_targets_python3_11(-)?,python_targets_python3_12(-)?,python_targets_python3_13(-)?]
DEFINED_PHASES=compile configure install prepare test
DESCRIPTION=Serve self-contained distribution builds of Swagger UI and Redoc
EAPI=8
HOMEPAGE=https://pypi.org/project/drf-spectacular-sidecar/
INHERIT=distutils-r1 pypi
IUSE=python_targets_python3_11 python_targets_python3_12 python_targets_python3_13
KEYWORDS=~amd64
LICENSE=BSD
RDEPEND=>=dev-python/django-2.2[python_targets_python3_11(-)?,python_targets_python3_12(-)?,python_targets_python3_13(-)?] python_targets_python3_11? ( dev-lang/python:3.11 ) python_targets_python3_12? ( dev-lang/python:3.12 ) python_targets_python3_13? ( dev-lang/python:3.13 )
REQUIRED_USE=|| ( python_targets_python3_11 python_targets_python3_12 python_targets_python3_13 )
SLOT=0
SRC_URI=https://files.pythonhosted.org/packages/source/d/drf-spectacular-sidecar/drf-spectacular-sidecar-2023.8.1.tar.gz
_eclasses_=toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 flag-o-matic e503ea5acc20410237ba33ec3f7c857d out-of-source-utils 1a9007554652a6e627edbccb3c25a439 multibuild d67e78a235f541871c7dfe4cf7931489 multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 python-utils-r1 8b220bbce5c119fb1d4d5c2f5588f3ea python-r1 428f5c53276c2adc06a89108fc2f9f46 distutils-r1 ac3ce68c875c9b392338dcd64f7feb73 pypi 2eecb475512bc76e5ea9192a681b9e6b
_md5_=45a3402c370a1b5a553aa408d64e32a8

View file

@ -0,0 +1,16 @@
BDEPEND=test? ( >=dev-python/django-3.2[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/social-auth-core[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/pytest-7.4.4[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] ) python_targets_python3_10? ( dev-lang/python:3.10 ) python_targets_python3_11? ( dev-lang/python:3.11 ) python_targets_python3_12? ( dev-lang/python:3.12 ) >=dev-python/gpep517-15[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/setuptools-69.0.3[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?]
DEFINED_PHASES=compile configure install prepare test
DESCRIPTION=Python Social Auth - Application - Django
EAPI=8
HOMEPAGE=https://github.com/python-social-auth/social-app-django
INHERIT=distutils-r1
IUSE=test python_targets_python3_10 python_targets_python3_11 python_targets_python3_12
KEYWORDS=~amd64
LICENSE=BSD
RDEPEND=>=dev-python/django-3.2[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/social-auth-core[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] python_targets_python3_10? ( dev-lang/python:3.10 ) python_targets_python3_11? ( dev-lang/python:3.11 ) python_targets_python3_12? ( dev-lang/python:3.12 )
REQUIRED_USE=|| ( python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 )
RESTRICT=!test? ( test )
SLOT=0
SRC_URI=https://github.com/python-social-auth/social-app-django/archive/5.2.0.tar.gz -> social-app-django-5.2.0.tar.gz
_eclasses_=toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 flag-o-matic e503ea5acc20410237ba33ec3f7c857d out-of-source-utils 1a9007554652a6e627edbccb3c25a439 multibuild d67e78a235f541871c7dfe4cf7931489 multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 python-utils-r1 8b220bbce5c119fb1d4d5c2f5588f3ea python-r1 428f5c53276c2adc06a89108fc2f9f46 distutils-r1 ac3ce68c875c9b392338dcd64f7feb73
_md5_=e719280ed38c131de51cb1bd2c57ec47

View file

@ -0,0 +1,16 @@
BDEPEND=test? ( dev-python/markuppy[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/odfpy[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/openpyxl[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/pandas[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/pyyaml[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/tabulate[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/xlrd[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/xlwt[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] ) test? ( >=dev-python/pytest-7.4.4[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] ) python_targets_python3_10? ( dev-lang/python:3.10 ) python_targets_python3_11? ( dev-lang/python:3.11 ) python_targets_python3_12? ( dev-lang/python:3.12 ) >=dev-python/gpep517-15[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/setuptools-69.0.3[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?]
DEFINED_PHASES=compile configure install prepare test
DESCRIPTION=Format-agnostic tabular dataset library
EAPI=8
HOMEPAGE=https://pypi.org/project/tablib/ https://github.com/jazzband/tablib/
INHERIT=distutils-r1 pypi
IUSE=test python_targets_python3_10 python_targets_python3_11 python_targets_python3_12
KEYWORDS=~amd64
LICENSE=BSD-2
RDEPEND=python_targets_python3_10? ( dev-lang/python:3.10 ) python_targets_python3_11? ( dev-lang/python:3.11 ) python_targets_python3_12? ( dev-lang/python:3.12 )
REQUIRED_USE=|| ( python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 )
RESTRICT=!test? ( test )
SLOT=0
SRC_URI=https://files.pythonhosted.org/packages/source/t/tablib/tablib-3.5.0.tar.gz
_eclasses_=toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 flag-o-matic e503ea5acc20410237ba33ec3f7c857d out-of-source-utils 1a9007554652a6e627edbccb3c25a439 multibuild d67e78a235f541871c7dfe4cf7931489 multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 python-utils-r1 8b220bbce5c119fb1d4d5c2f5588f3ea python-r1 428f5c53276c2adc06a89108fc2f9f46 distutils-r1 ac3ce68c875c9b392338dcd64f7feb73 pypi 2eecb475512bc76e5ea9192a681b9e6b
_md5_=3be05ce78146d9a9da8c62cbf7ad522c

View file

@ -0,0 +1,16 @@
BDEPEND=test? ( dev-python/markuppy[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/odfpy[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/openpyxl[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/pandas[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/pyyaml[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/tabulate[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/xlrd[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/xlwt[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] ) test? ( >=dev-python/pytest-7.4.4[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] ) python_targets_python3_10? ( dev-lang/python:3.10 ) python_targets_python3_11? ( dev-lang/python:3.11 ) python_targets_python3_12? ( dev-lang/python:3.12 ) >=dev-python/gpep517-15[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/setuptools-69.0.3[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?]
DEFINED_PHASES=compile configure install prepare test
DESCRIPTION=Format-agnostic tabular dataset library
EAPI=8
HOMEPAGE=https://pypi.org/project/tablib/ https://github.com/jazzband/tablib/
INHERIT=distutils-r1 pypi
IUSE=test python_targets_python3_10 python_targets_python3_11 python_targets_python3_12
KEYWORDS=~amd64
LICENSE=BSD-2
RDEPEND=python_targets_python3_10? ( dev-lang/python:3.10 ) python_targets_python3_11? ( dev-lang/python:3.11 ) python_targets_python3_12? ( dev-lang/python:3.12 )
REQUIRED_USE=|| ( python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 )
RESTRICT=!test? ( test )
SLOT=0
SRC_URI=https://files.pythonhosted.org/packages/source/t/tablib/tablib-3.5.8.tar.gz
_eclasses_=toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 flag-o-matic e503ea5acc20410237ba33ec3f7c857d out-of-source-utils 1a9007554652a6e627edbccb3c25a439 multibuild d67e78a235f541871c7dfe4cf7931489 multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 python-utils-r1 8b220bbce5c119fb1d4d5c2f5588f3ea python-r1 428f5c53276c2adc06a89108fc2f9f46 distutils-r1 ac3ce68c875c9b392338dcd64f7feb73 pypi 2eecb475512bc76e5ea9192a681b9e6b
_md5_=3be05ce78146d9a9da8c62cbf7ad522c

File diff suppressed because one or more lines are too long

View file

@ -2,3 +2,4 @@ DIST netbox-3.1.11.tar.gz 4408997 BLAKE2B 2cb3b13d1ba0345c90bd7657a6cd16ebae1386
DIST netbox-3.2.9.tar.gz 4837923 BLAKE2B 396789648aa529682600de22d90f4639f4fbee2cf42dc9a72f63f1f3dbd8af9a0a27a320cbe66d90294f98b5831f0a7233566eebce7eea19549e7b89b11d5fd6 SHA512 e221a82e7d119e8f03f3d5364551c7a0634cb5f0db4f2bfad79109fbec2955de36a5323bbb7d846f762d30a12bd70f4206485fd9d703ad3573e33cbd2dbca286
DIST netbox-3.3.9.tar.gz 7315280 BLAKE2B f3b8ec5ca83e98138f6ccd140af2f59776020e8f1e438a92fab2523700a7b6e2f712472874cd368c586c94975c1120e4431b0b3cafc360a455975960adaa4eff SHA512 2bb1868bbf86a7538bb4bfc6256f094360a4779c9e5dafaf1d9fb925c116a59a3f244d5b0b62f2df9b1d7e7b9608cc1498067fab639e29e0486e469e2e285cf8
DIST netbox-3.4.9.tar.gz 7411506 BLAKE2B 3c32365cb727bbbe1d62cb6dca5e58406199af5babddaa87d05e79f543c3f8910bfcd2726a7aed6fb49a9d148af506d39cef4c971e2e84fbeb51feb6a66418bc SHA512 40e858cbc87460c22c7a138fdb9b33bb815043d53537e160466251066918d873b2037244dad4d4f0529375ee5561827f1129274e2a0b5d1318ac483d008fe445
DIST netbox-3.5.8.tar.gz 5776278 BLAKE2B 097ab2e765408dbfc23761df1684be5e9f57d781c5864708404493c3376ec96e294b5626285ef8e277e03b3654342e9a863de82c277c0e529db3e6cdb71b7bbe SHA512 067c3ce2dadb9f36eb53ce21ce776ceb1dcb35f4a2411eca519e0f64498a1ed082d1b2bd59f8a08ccd522021919ea812dae6d027d0dfd694da3fcb4f7d601af0

View file

@ -0,0 +1,88 @@
--- netbox-3.5.8/upgrade.sh 2024-08-27 18:12:00.087046135 +0200
+++ netbox-3.5.8/upgrade.sh 2024-08-27 18:12:57.437459367 +0200
@@ -7,76 +7,6 @@
# Python 3.8 or later.
cd "$(dirname "$0")"
-VIRTUALENV="$(pwd -P)/venv"
-PYTHON="${PYTHON:-python3}"
-
-# Validate the minimum required Python version
-COMMAND="${PYTHON} -c 'import sys; exit(1 if sys.version_info < (3, 8) else 0)'"
-PYTHON_VERSION=$(eval "${PYTHON} -V")
-eval $COMMAND || {
- echo "--------------------------------------------------------------------"
- echo "ERROR: Unsupported Python version: ${PYTHON_VERSION}. NetBox requires"
- echo "Python 3.8 or later. To specify an alternate Python executable, set"
- echo "the PYTHON environment variable. For example:"
- echo ""
- echo " sudo PYTHON=/usr/bin/python3.8 ./upgrade.sh"
- echo ""
- echo "To show your current Python version: ${PYTHON} -V"
- echo "--------------------------------------------------------------------"
- exit 1
-}
-echo "Using ${PYTHON_VERSION}"
-
-# Remove the existing virtual environment (if any)
-if [ -d "$VIRTUALENV" ]; then
- COMMAND="rm -rf ${VIRTUALENV}"
- echo "Removing old virtual environment..."
- eval $COMMAND
-else
- WARN_MISSING_VENV=1
-fi
-
-# Create a new virtual environment
-COMMAND="${PYTHON} -m venv ${VIRTUALENV}"
-echo "Creating a new virtual environment at ${VIRTUALENV}..."
-eval $COMMAND || {
- echo "--------------------------------------------------------------------"
- echo "ERROR: Failed to create the virtual environment. Check that you have"
- echo "the required system packages installed and the following path is"
- echo "writable: ${VIRTUALENV}"
- echo "--------------------------------------------------------------------"
- exit 1
-}
-
-# Activate the virtual environment
-source "${VIRTUALENV}/bin/activate"
-
-# Upgrade pip
-COMMAND="pip install --upgrade pip"
-echo "Updating pip ($COMMAND)..."
-eval $COMMAND || exit 1
-pip -V
-
-# Install necessary system packages
-COMMAND="pip install wheel"
-echo "Installing Python system packages ($COMMAND)..."
-eval $COMMAND || exit 1
-
-# Install required Python packages
-COMMAND="pip install -r requirements.txt"
-echo "Installing core dependencies ($COMMAND)..."
-eval $COMMAND || exit 1
-
-# Install optional packages (if any)
-if [ -s "local_requirements.txt" ]; then
- COMMAND="pip install -r local_requirements.txt"
- echo "Installing local dependencies ($COMMAND)..."
- eval $COMMAND || exit 1
-elif [ -f "local_requirements.txt" ]; then
- echo "Skipping local dependencies (local_requirements.txt is empty)"
-else
- echo "Skipping local dependencies (local_requirements.txt not found)"
-fi
# Apply any database migrations
COMMAND="python3 netbox/manage.py migrate"
@@ -91,7 +21,7 @@
# Build the local documentation
COMMAND="mkdocs build"
echo "Building documentation ($COMMAND)..."
-eval $COMMAND || exit 1
+eval $COMMAND || echo "Making doc failed but who cares"
# Collect static files
COMMAND="python3 netbox/manage.py collectstatic --no-input"

View file

@ -0,0 +1,164 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..12} )
inherit python-single-r1 readme.gentoo-r1
DESCRIPTION="IP address and data center infrastructure management tool"
HOMEPAGE="https://github.com/netbox-community/netbox"
SRC_URI="https://github.com/netbox-community/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="ldap"
REQUIRED_USE=${PYTHON_REQUIRED_USE}
RDEPEND="
acct-group/netbox
acct-user/netbox
${PYTHON_DEPS}
$(python_gen_cond_dep '
>=dev-python/bleach-6.0.0[${PYTHON_USEDEP}]
>=dev-python/boto3-1.28.26[${PYTHON_USEDEP}]
<dev-python/django-4.2[${PYTHON_USEDEP}]
>=dev-python/django-4.1.10[${PYTHON_USEDEP}]
>=dev-python/django-cors-headers-4.2.0[${PYTHON_USEDEP}]
>=dev-python/django-debug-toolbar-4.2.0[${PYTHON_USEDEP}]
>=dev-python/django-filter-23.2[${PYTHON_USEDEP}]
>=dev-python/django-graphiql-debug-toolbar-0.2.0[${PYTHON_USEDEP}]
>=dev-python/django-mptt-0.14[${PYTHON_USEDEP}]
>=dev-python/django-pglocks-1.0.4[${PYTHON_USEDEP}]
>=dev-python/django-prometheus-2.3.1[${PYTHON_USEDEP}]
>=dev-python/django-redis-5.3.0[${PYTHON_USEDEP}]
>=dev-python/django-rich-1.7.0[${PYTHON_USEDEP}]
>=dev-python/django-rq-2.8.1[${PYTHON_USEDEP}]
>=dev-python/django-tables2-2.6.0[${PYTHON_USEDEP}]
>=dev-python/django-taggit-4.0.0[${PYTHON_USEDEP}]
>=dev-python/django-timezone-field-5.1[${PYTHON_USEDEP}]
>=dev-python/djangorestframework-3.14.0[${PYTHON_USEDEP}]
>=dev-python/drf-yasg-1.21.5[${PYTHON_USEDEP},validation]
>=dev-python/drf-spectacular-0.26.4[${PYTHON_USEDEP}]
>=dev-python/drf-spectacular-sidecar-2023.8.1[${PYTHON_USEDEP}]
>=dev-python/dulwich-0.21.5[${PYTHON_USEDEP}]
>=dev-python/feedparser-6.0.10[${PYTHON_USEDEP}]
>=dev-python/graphene-django-3.0.0[${PYTHON_USEDEP}]
>=www-servers/gunicorn-21.2.0[${PYTHON_USEDEP}]
>=dev-python/jinja-3.1.2[${PYTHON_USEDEP}]
>=dev-python/markdown-3.3.7[${PYTHON_USEDEP}]
>=dev-python/mkdocs-material-9.1.21[${PYTHON_USEDEP}]
dev-python/mkdocstrings-python[${PYTHON_USEDEP}]
>=dev-python/netaddr-0.8.0[${PYTHON_USEDEP}]
>=dev-python/pillow-10.0.0[${PYTHON_USEDEP}]
dev-python/psycopg:2[${PYTHON_USEDEP}]
>=dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}]
>=dev-python/sentry-sdk-1.29.2[${PYTHON_USEDEP}]
>=dev-python/social-auth-app-django-5.2.0[${PYTHON_USEDEP}]
>=dev-python/social-auth-core-4.4.2[${PYTHON_USEDEP}]
dev-python/python-jose[${PYTHON_USEDEP}]
>=dev-python/svgwrite-1.4.3[${PYTHON_USEDEP}]
>=dev-python/tablib-3.5.0[${PYTHON_USEDEP}]
>=dev-python/tzdata-2023.3[${PYTHON_USEDEP}]
ldap? ( >=dev-python/django-auth-ldap-4.1.0[${PYTHON_USEDEP}] )
')"
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-no-pip.patch
)
DISABLE_AUTOFORMATTING=YES
DOC_CONTENTS="
netbox is installed on your system. However, there are some manual steps
you need to complete from the installation guide [1].
On Gentoo, the configuration files you need to edit are located in
/etc/netbox, not /opt/netbox as shown in the installation guide.
If this is a new installation, please follow the installation guide
other than this difference. Also, if you need ldap, set the appropriate
use flag when emerging netbox to install the dependency for it.
Once that is done, you should be able to add the netbox service to the
default runlevel and start it.
If you want to use webhooks, you should also add the netbox-rqworker
service to the default runlevel and start it.
If this is an upgrade, follow these instructions:
Stop the netbox service. If the netbox-rqworker service is running,
stop it as well.
Next, run the upgrade script as described in the upgrading guide[2].
Next, check for new configuration options and set them as appropriate
for your system.
Next, start the netbox service.
Finally, if you are using webhooks, start the netbox-rqworker service.
[1] https://netbox.readthedocs.io/en/stable/installation/
[2] https://netbox.readthedocs.io/en/stable/installation/upgrading/
"
src_prepare() {
default
python_fix_shebang netbox/manage.py
}
src_install() {
dodir /opt
cp -a ../${P} "${ED}"/opt
dosym ${P} /opt/netbox
dosym /etc/netbox/gunicorn_config.py /opt/netbox/gunicorn_config.py
dosym /etc/netbox/configuration.py \
/opt/netbox/netbox/netbox/configuration.py
dodir /etc/netbox
insinto /etc/netbox
newins netbox/netbox/configuration_example.py configuration.py
doins "${FILESDIR}"/gunicorn_config.py
fowners -R netbox:netbox /etc/netbox /opt/${P}
fowners -h netbox:netbox /opt/netbox
fperms o= /etc/netbox/configuration.py /etc/netbox/gunicorn_config.py
newinitd "${FILESDIR}"/${PN}.initd ${PN}
newinitd "${FILESDIR}"/${PN}-rqworker.initd ${PN}-rqworker
keepdir /var/log/netbox
fowners -R netbox:netbox /var/log/netbox
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
for LAST_PREVIOUS_VERSION in $REPLACING_VERSIONS; do
if [[ "$LAST_PREVIOUS_VERSION" = "2.5.10" ]]; then
ewarn "The home directory of the netbox user is now /var/lib/netbox"
ewarn "Please adjust your system."
fi
done
if [ -z "${LAST_PREVIOUS_VERSION}" ]; then
exit
fi
LAST_BASE_DIRECTORY="/opt/netbox-${LAST_PREVIOUS_VERSION}"
NBCP="su -l ${PN} -s /bin/sh -c cp"
if [ -f "${LAST_BASE_DIRECTORY}/local_requirements.txt}" ]; then
${NBCP} "${LAST_BASE_DIRECTORY}/local_requirements.txt}" /opt/netbox
fi
if [ -f "${LAST_BASE_DIRECTORY}/netbox/netbox/ldap_config.py" ]; then
${NBCP} "${LAST_BASE_DIRECTORY}/netbox/netbox/ldap_config.py" /opt/netbox/netbox/netbox/
fi
if [ -d "${LAST_BASE_DIRECTORY}/netbox/media" ]; then
${NBCP} -pr "${LAST_BASE_DIRECTORY}/netbox/media" /opt/netbox/netbox/
fi
if [ -d "${LAST_BASE_DIRECTORY}/netbox/scripts" ]; then
${NBCP} -pr "${LAST_BASE_DIRECTORY}/netbox/scripts" /opt/netbox/netbox/
fi
if [ -d "${LAST_BASE_DIRECTORY}/netbox/reports" ]; then
${NBCP} -pr "${LAST_BASE_DIRECTORY}/netbox/reports" /opt/netbox/netbox/
fi
su -p -s /bin/sh -c "/opt/${P}/upgrade.sh" "${PN}"
}