Compare commits
8 commits
4967b6b4ab
...
36b2ce87f8
Author | SHA1 | Date | |
---|---|---|---|
Alarig Le Lay | 36b2ce87f8 | ||
Alarig Le Lay | a08380235b | ||
Alarig Le Lay | ae56c9ba31 | ||
Alarig Le Lay | e0a6668597 | ||
Alarig Le Lay | 63a7ae8be8 | ||
Alarig Le Lay | b1e64632a9 | ||
Alarig Le Lay | df608ba11a | ||
Alarig Le Lay | 36a2764bd7 |
|
@ -1,2 +1,3 @@
|
|||
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
|
||||
DIST django_rich-1.8.0.tar.gz 59039 BLAKE2B 0e6534cec5736029d97425730aaf811958f6b5e524f2e4a402c976ff16c40d38e0aaa94afb97e914bbf4ef71bf6831b97d8329c490cb098baefa96ca1248761b SHA512 c6e91a2f701c795b1d3b32c5ad78b67062c7bd5ae238f0083c3996e9cd75fef1c0ce53780bb5e58b489e6a76ed78d0f320907c524035875cd6612190ff424d29
|
||||
|
|
23
dev-python/django-rich/django-rich-1.8.0.ebuild
Normal file
23
dev-python/django-rich/django-rich-1.8.0.ebuild
Normal 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}]
|
||||
"
|
|
@ -1,3 +1,4 @@
|
|||
DIST django-rq-2.10.1.tar.gz 125201 BLAKE2B 23881beb481fa4ad1f2789ef5141fc241703ae258f4effd72c4af873d068872f6facc625bc62d58df9d333bac0c2e9995b4a6506bd6f7425475cb6289a614366 SHA512 20aa43182b16040702c0b262b15c55e168fc839f738e91088da960615c244fe77f9d664a70ac495acff83aa5b0425015da72bef25a8558cccbb005bdddc60a95
|
||||
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
|
||||
|
|
23
dev-python/django-rq/django-rq-2.10.1.ebuild
Normal file
23
dev-python/django-rq/django-rq-2.10.1.ebuild
Normal 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-3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/rq-1.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/redis-3[${PYTHON_USEDEP}]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
|
@ -1 +1,2 @@
|
|||
DIST drf-spectacular-sidecar-2023.12.1.tar.gz 2336489 BLAKE2B 53de82179e18f22888a7ba8d72fff574902b0ab1b63481d0f7359041b7f81b0dff3dfdd005ef7f9cff8340308bc9369edbcff96e745369da8091c0965f7efbd2 SHA512 f5c35e41bef17e97918c08757e98a196355f7d4216b27235752d17ed2b903480de1318ee4358f4130ed8f077c9fb0455ca32fe4c2e2f37189d583ad89a2e7b01
|
||||
DIST drf-spectacular-sidecar-2023.8.1.tar.gz 2619788 BLAKE2B 6bef0db1630c7b903d57df58095d02511ae4373dee7356a078916049216e514407d7c6c515e4e27f3a85d3d684ab2fd2450cc66684997df06916719936c2fe5b SHA512 ff705a8aef8ccb5520fb08793295069fd742f3435adc4fa2912b9989f80380ca8f590925a70ad367982c16a7c3714057d382b98d9fecf371689eff699a7b7906
|
||||
|
|
|
@ -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}]
|
||||
"
|
|
@ -1 +1,2 @@
|
|||
DIST drf-spectacular-0.26.4.tar.gz 219010 BLAKE2B 34b11c3fbe072104f228e48dd8cbd8959607b9391fa74ab970ab78ce2f31eae186165a8f5277f89997ccad397c3f28ddf107f74162f5b134d38469b25958adad SHA512 5ea90e78d9b159fee9d08b9809ed387ed5e2bfab46a877718c04829614ba46960bc813d7e6122b4302c2c11b2aac194c0b2a5202f5ff245062d861ca4d8f824b
|
||||
DIST drf-spectacular-0.27.0.tar.gz 230289 BLAKE2B 35e432dd16be73c78f668092344b6e1b9b3e92e56449217da4a9ad4a60f256f31a020da0971c92f520b30dea66236a2d74890ff7ded8142fa9a785ca94048052 SHA512 7c17a36e6b52e5111c2e43775fe6963fa4f10ba8f1b73984cf7f6e413c9ab0e3be609c9d270c500a7d2551bf2ea266aaab2f3c70481d8aecfe33f350ca5e3b79
|
||||
|
|
30
dev-python/drf-spectacular/drf-spectacular-0.27.0.ebuild
Normal file
30
dev-python/drf-spectacular/drf-spectacular-0.27.0.ebuild
Normal 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}]
|
||||
"
|
|
@ -1,2 +1,3 @@
|
|||
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
|
||||
DIST social-app-django-5.4.0.tar.gz 28886 BLAKE2B f7e3c0394b28e0de33e2377165b7eff4dd7a33b970b0850e1f32ee93f9b5e961789faf0a46380422e9158ee78c813c53592cc3b6fd296867c4cb567e9f2bfca2 SHA512 a88843757d781509b8a4d29b42825ebaab1031c307ec0b28c6a9165fb527bf04bf15e09b62870feb86a275a16c2d6b6319cc122650561635fe2b8ecdc2b050be
|
||||
|
|
|
@ -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-4.4.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" manage.py test -v2 || die "tests failed with ${EPYTHON}"
|
||||
}
|
|
@ -1,3 +1,4 @@
|
|||
DIST social-core-4.2.0.tar.gz 193508 BLAKE2B 17aad9b12b49176bdd958995240121f66c664da97c2b8a53405fc067ee27174fc9c7ba504ef6026981c7d4286a8796f3ff05a2e2ebae8d038aa81d20e3c8234c SHA512 17fc36dfca6aabce9dbf622f6b2e6ce4eb1577d4df7b4a2b85a67b1131a5a2970b5a0ac4462bf5600ef62419da5e262955b2a2e00ec9bd222a7c2700f6199f64
|
||||
DIST social-core-4.3.0.tar.gz 195616 BLAKE2B 1f49a5ef3a79b004a01bafa691b0d0bc7945f7f0e784a14724a216f44495477d74a8d0938013fc6869666bf3022a6253cd6baa298384cdd0a3ee68c3ee85bdd9 SHA512 fedeefb3c3feb40e074d39e85ead5f56d039d630d9988f42669bb962b627dbf93d34178a3eb961cc90319d957023d1c04c2813559e823588af0c72a742915ddb
|
||||
DIST social-core-4.4.2.tar.gz 198722 BLAKE2B 2091c54a70dc9bd3e17828f09474714db17e20083b751f4dfd1212826f5ac070b1c53b41eddafe1e0d8a6c340a66e153323399be576db08872daefc765dc3779 SHA512 20044391a683369ca8aa1a614c2af609b5d4be43f6814faa9ba31c31e2abeba1515a245616faa05eaa2f5c220553d856f78a6daee6d6d082a5d7b4afd51ad5a7
|
||||
DIST social-core-4.5.1.tar.gz 210594 BLAKE2B 387dd43415903081c5313bf1cd698e52ef5f15a06f633633ae57c7380dd0564dd6993ac4cd6562c19b6c48e59202e63f4698e693a4952d1159740f619a798e24 SHA512 184940d9c37ec0d9f2b4c93f9dac38d3f89b3929da31e1f6caaa6b9cdcced6092a79ec39ed3a79e429bac930bb8cc04c9efaf04989ee718fbd372bff941618b3
|
||||
|
|
62
dev-python/social-auth-core/social-auth-core-4.5.1.ebuild
Normal file
62
dev-python/social-auth-core/social-auth-core-4.5.1.ebuild
Normal file
|
@ -0,0 +1,62 @@
|
|||
# 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 optfeature
|
||||
|
||||
MY_PN="${PN//-auth/}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Python Social Auth - Core"
|
||||
HOMEPAGE="https://github.com/python-social-auth/social-core"
|
||||
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/requests-2.9.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/oauthlib-1.0.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-oauthlib-0.6.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyjwt-2.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/defusedxml-0.5.0_rc1[${PYTHON_USEDEP}]
|
||||
>=dev-python/python3-openid-3.0.10[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="test? ( dev-python/httpretty[${PYTHON_USEDEP}]
|
||||
dev-python/python-jose[${PYTHON_USEDEP}]
|
||||
dev-python/python3-saml[${PYTHON_USEDEP}] )"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# need network / credentials
|
||||
social_core/tests/backends/test_livejournal.py::LiveJournalOpenIdTest::test_login
|
||||
social_core/tests/backends/test_livejournal.py::LiveJournalOpenIdTest::test_partial_pipeline
|
||||
social_core/tests/backends/test_ngpvan.py::NGPVANActionIDOpenIDTest::test_association_uid
|
||||
social_core/tests/backends/test_ngpvan.py::NGPVANActionIDOpenIDTest::test_extra_data_phone
|
||||
social_core/tests/backends/test_ngpvan.py::NGPVANActionIDOpenIDTest::test_login
|
||||
social_core/tests/backends/test_ngpvan.py::NGPVANActionIDOpenIDTest::test_partial_pipeline
|
||||
social_core/tests/backends/test_ngpvan.py::NGPVANActionIDOpenIDTest::test_user_data
|
||||
social_core/tests/backends/test_steam.py::SteamOpenIdTest::test_login
|
||||
social_core/tests/backends/test_steam.py::SteamOpenIdTest::test_partial_pipeline
|
||||
social_core/tests/backends/test_ngpvan.py::NGPVANActionIDOpenIDTest::test_setup_request
|
||||
social_core/tests/backends/test_steam.py::SteamOpenIdMissingSteamIdTest::test_login
|
||||
social_core/tests/backends/test_steam.py::SteamOpenIdMissingSteamIdTest::test_partial_pipeline
|
||||
)
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
find "${ED}" -type d -name "tests" -exec rm -rv {} + || die "tests removing failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "integration with OpenID Connect" dev-python/python-jose
|
||||
optfeature "integration with SAML" dev-python/python3-saml dev-python/lxml
|
||||
}
|
15
metadata/md5-cache/dev-python/django-rich-1.8.0
Normal file
15
metadata/md5-cache/dev-python/django-rich-1.8.0
Normal 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.8.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
|
16
metadata/md5-cache/dev-python/django-rq-2.10.1
Normal file
16
metadata/md5-cache/dev-python/django-rq-2.10.1
Normal 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-3.2[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-3.2[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.10.1.tar.gz -> django-rq-2.10.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_=717923ee813981913951501543de939c
|
15
metadata/md5-cache/dev-python/drf-spectacular-0.27.0
Normal file
15
metadata/md5-cache/dev-python/drf-spectacular-0.27.0
Normal 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.27.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_=dac2da304a80689c8a7929f6402a447e
|
|
@ -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.12.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
|
16
metadata/md5-cache/dev-python/social-auth-app-django-5.4.0
Normal file
16
metadata/md5-cache/dev-python/social-auth-app-django-5.4.0
Normal 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-4.4.1[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-4.4.1[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.4.0.tar.gz -> social-app-django-5.4.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_=71a73a9ded7d18adf295d186d200af90
|
16
metadata/md5-cache/dev-python/social-auth-core-4.5.1
Normal file
16
metadata/md5-cache/dev-python/social-auth-core-4.5.1
Normal file
|
@ -0,0 +1,16 @@
|
|||
BDEPEND=test? ( dev-python/httpretty[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/python-jose[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/python3-saml[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] ) test? ( >=dev-python/requests-2.9.1[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/oauthlib-1.0.3[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/requests-oauthlib-0.6.1[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/pyjwt-2.7.0[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/cryptography-1.4[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/defusedxml-0.5.0_rc1[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/python3-openid-3.0.10[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 postinst prepare test
|
||||
DESCRIPTION=Python Social Auth - Core
|
||||
EAPI=8
|
||||
HOMEPAGE=https://github.com/python-social-auth/social-core
|
||||
INHERIT=distutils-r1 optfeature
|
||||
IUSE=test python_targets_python3_10 python_targets_python3_11 python_targets_python3_12
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=BSD
|
||||
RDEPEND=>=dev-python/requests-2.9.1[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/oauthlib-1.0.3[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/requests-oauthlib-0.6.1[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/pyjwt-2.7.0[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/cryptography-1.4[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/defusedxml-0.5.0_rc1[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/python3-openid-3.0.10[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-core/archive/4.5.1.tar.gz -> social-core-4.5.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 optfeature 222cb475c5a4f7ae7cfb0bf510a6fe54
|
||||
_md5_=47ee00347895efd2b38d06abc7062723
|
15
metadata/md5-cache/www-apps/netbox-3.6.8
Normal file
15
metadata/md5-cache/www-apps/netbox-3.6.8
Normal file
File diff suppressed because one or more lines are too long
|
@ -3,3 +3,4 @@ DIST netbox-3.2.9.tar.gz 4837923 BLAKE2B 396789648aa529682600de22d90f4639f4fbee2
|
|||
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
|
||||
DIST netbox-3.6.8.tar.gz 7286549 BLAKE2B afd222cc79a665e5a3ab0d4d59c87b6a272b7e2109191105cb4816c9733b5f8222c9f130662d54e4466d05d1aa786890d420b552411808c9edb2b44b40be322d SHA512 1c33856231a85b866d3b7d8b2bb8e88e235210b251004fe7ce4d339f9c3c403f22f727e4bf61fb8a841a8809c97f20780982ac6120cf11704b908669e1d32852
|
||||
|
|
89
www-apps/netbox/files/netbox-3.6.8-no-pip.patch
Normal file
89
www-apps/netbox/files/netbox-3.6.8-no-pip.patch
Normal file
|
@ -0,0 +1,89 @@
|
|||
--- netbox-3.6.8/upgrade.sh 2024-08-27 18:51:23.628946899 +0200
|
||||
+++ netbox-3.6.8/upgrade.sh 2024-08-27 18:59:06.015611971 +0200
|
||||
@@ -11,77 +11,6 @@
|
||||
NETBOX_VERSION="$(grep ^VERSION netbox/netbox/settings.py | cut -d\' -f2)"
|
||||
echo "You are installing (or upgrading to) NetBox version ${NETBOX_VERSION}"
|
||||
|
||||
-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"
|
||||
echo "Applying database migrations ($COMMAND)..."
|
||||
@@ -95,7 +24,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"
|
163
www-apps/netbox/netbox-3.6.8.ebuild
Normal file
163
www-apps/netbox/netbox-3.6.8.ebuild
Normal file
|
@ -0,0 +1,163 @@
|
|||
# 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.1.0[${PYTHON_USEDEP}]
|
||||
<dev-python/django-5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/django-4.2.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/django-cors-headers-4.3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/django-debug-toolbar-4.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/django-filter-23.5[${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.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/django-rich-1.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/django-rq-2.10.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/django-tables2-2.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/django-taggit-4.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/django-timezone-field-6.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/djangorestframework-3.14.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/drf-spectacular-0.27.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/drf-spectacular-sidecar-2023.12.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/feedparser-6.0.11[${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.5.3[${PYTHON_USEDEP}]
|
||||
dev-python/mkdocstrings-python[${PYTHON_USEDEP}]
|
||||
>=dev-python/netaddr-0.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pillow-10.1.0[${PYTHON_USEDEP}]
|
||||
<dev-python/psycopg-3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/psycopg-3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.31.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sentry-sdk-1.39.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/social-auth-app-django-5.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/social-auth-core-4.5.1[${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}"
|
||||
}
|
Loading…
Reference in a new issue