Compare commits

..

2 commits

Author SHA1 Message Date
Alarig Le Lay 6e600ffcc9
dev-python/graphene-django: S fix
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
2024-08-22 01:58:10 +02:00
Alarig Le Lay aa91e2b13a
www-apps/netbox: fix sheband manage.py
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
2024-08-22 01:57:23 +02:00
6 changed files with 16 additions and 5 deletions

View file

@ -10,6 +10,7 @@ DESCRIPTION="Graphene Django integration"
HOMEPAGE="https://pypi.org/project/graphene-django/"
SRC_URI="$(pypi_sdist_url --no-normalize)"
S="${WORKDIR}/${P/_/-}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

View file

@ -13,4 +13,4 @@ REQUIRED_USE=|| ( python_targets_python3_10 python_targets_python3_11 python_tar
SLOT=0
SRC_URI=https://files.pythonhosted.org/packages/source/g/graphene-django/graphene-django-3.2.2.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_=d6fe7a7c4d4f82c8e4f4f8c6d176b11e
_md5_=324ed3578e859180bb5091f6530003fa

View file

@ -1,4 +1,4 @@
DEFINED_PHASES=install postinst setup
DEFINED_PHASES=install postinst prepare setup
DEPEND=acct-group/netbox acct-user/netbox python_single_target_python3_11? ( dev-lang/python:3.11 ) python_single_target_python3_12? ( dev-lang/python:3.12 ) python_single_target_python3_11? ( >=dev-python/bleach-5.0.1[python_targets_python3_11(-)] >=dev-python/django-4.0.7[python_targets_python3_11(-)] <dev-python/django-4.1[python_targets_python3_11(-)] >=dev-python/django-cors-headers-3.13.0[python_targets_python3_11(-)] >=dev-python/django-debug-toolbar-3.5.0[python_targets_python3_11(-)] >=dev-python/django-filter-22.1[python_targets_python3_11(-)] >=dev-python/django-graphiql-debug-toolbar-0.2.0[python_targets_python3_11(-)] >=dev-python/django-mptt-0.13.4[python_targets_python3_11(-)] >=dev-python/django-pglocks-1.0.4[python_targets_python3_11(-)] >=dev-python/django-prometheus-2.2.0[python_targets_python3_11(-)] >=dev-python/django-redis-5.2.0[python_targets_python3_11(-)] >=dev-python/django-rq-2.5.1[python_targets_python3_11(-)] >=dev-python/django-tables2-2.4.1[python_targets_python3_11(-)] >=dev-python/django-taggit-2.1.0[python_targets_python3_11(-)] >=dev-python/django-timezone-field-5.0[python_targets_python3_11(-)] >=dev-python/djangorestframework-3.13.1[python_targets_python3_11(-)] >=dev-python/drf-yasg-1.21.3[python_targets_python3_11(-),validation] >=dev-python/graphene-django-2.15.0[python_targets_python3_11(-)] >=www-servers/gunicorn-20.1.0[python_targets_python3_11(-)] >=dev-python/jinja-3.1.2[python_targets_python3_11(-)] >=dev-python/markdown-3.4.1[python_targets_python3_11(-)] >=dev-python/markdown-include-0.7.0[python_targets_python3_11(-)] >=dev-python/mkdocs-material-8.4.0[python_targets_python3_11(-)] dev-python/mkdocstrings-python[python_targets_python3_11(-)] >=dev-python/netaddr-0.8.0[python_targets_python3_11(-)] >=dev-python/pillow-9.2.0[python_targets_python3_11(-)] dev-python/psycopg:2[python_targets_python3_11(-)] >=dev-python/pyyaml-6.0[python_targets_python3_11(-)] >=dev-python/sentry-sdk-1.9.5[python_targets_python3_11(-)] >=dev-python/social-auth-app-django-5.0.0[python_targets_python3_11(-)] >=dev-python/social-auth-core-4.3.0[python_targets_python3_11(-)] >=dev-python/svgwrite-1.4.3[python_targets_python3_11(-)] >=dev-python/tablib-3.2.1[python_targets_python3_11(-)] >=dev-python/tzdata-2022.1[python_targets_python3_11(-)] >=dev-python/jsonschema-3.2.0[python_targets_python3_11(-)] >=dev-python/pytz-2022.1[python_targets_python3_11(-)] ldap? ( >=dev-python/django-auth-ldap-4.1.0[python_targets_python3_11(-)] ) ) python_single_target_python3_12? ( >=dev-python/bleach-5.0.1[python_targets_python3_12(-)] >=dev-python/django-4.0.7[python_targets_python3_12(-)] <dev-python/django-4.1[python_targets_python3_12(-)] >=dev-python/django-cors-headers-3.13.0[python_targets_python3_12(-)] >=dev-python/django-debug-toolbar-3.5.0[python_targets_python3_12(-)] >=dev-python/django-filter-22.1[python_targets_python3_12(-)] >=dev-python/django-graphiql-debug-toolbar-0.2.0[python_targets_python3_12(-)] >=dev-python/django-mptt-0.13.4[python_targets_python3_12(-)] >=dev-python/django-pglocks-1.0.4[python_targets_python3_12(-)] >=dev-python/django-prometheus-2.2.0[python_targets_python3_12(-)] >=dev-python/django-redis-5.2.0[python_targets_python3_12(-)] >=dev-python/django-rq-2.5.1[python_targets_python3_12(-)] >=dev-python/django-tables2-2.4.1[python_targets_python3_12(-)] >=dev-python/django-taggit-2.1.0[python_targets_python3_12(-)] >=dev-python/django-timezone-field-5.0[python_targets_python3_12(-)] >=dev-python/djangorestframework-3.13.1[python_targets_python3_12(-)] >=dev-python/drf-yasg-1.21.3[python_targets_python3_12(-),validation] >=dev-python/graphene-django-2.15.0[python_targets_python3_12(-)] >=www-servers/gunicorn-20.1.0[python_targets_python3_12(-)] >=dev-python/jinja-3.1.2[python_targets_python3_12(-)] >=dev-python/markdown-3.4.1[python_targets_python3_12(-)] >=dev-python/markdown-include-0.7.0[python_targets_python3_12(-)] >=dev-python/mkdocs-material-8.4.0[python_targets_python3_12(-)] dev-python/mkdocstrings-python[python_targets_python3_12(-)] >=dev-python/netaddr-0.8.0[python_targets_python3_12(-)] >=dev-python/pillow-9.2.0[python_targets_python3_12(-)] dev-python/psycopg:2[python_targets_python3_12(-)] >=dev-python/pyyaml-6.0[python_targets_python3_12(-)] >=dev-python/sentry-sdk-1.9.5[python_targets_python3_12(-)] >=dev-python/social-auth-app-django-5.0.0[python_targets_python3_12(-)] >=dev-python/social-auth-core-4.3.0[python_targets_python3_12(-)] >=dev-python/svgwrite-1.4.3[python_targets_python3_12(-)] >=dev-python/tablib-3.2.1[python_targets_python3_12(-)] >=dev-python/tzdata-2022.1[python_targets_python3_12(-)] >=dev-python/jsonschema-3.2.0[python_targets_python3_12(-)] >=dev-python/pytz-2022.1[python_targets_python3_12(-)] ldap? ( >=dev-python/django-auth-ldap-4.1.0[python_targets_python3_12(-)] ) )
DESCRIPTION=IP address and data center infrastructure management tool
EAPI=8
@ -12,4 +12,4 @@ REQUIRED_USE=^^ ( python_single_target_python3_11 python_single_target_python3_1
SLOT=0
SRC_URI=https://github.com/netbox-community/netbox/archive/v3.2.9.tar.gz -> netbox-3.2.9.tar.gz
_eclasses_=multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 python-utils-r1 8b220bbce5c119fb1d4d5c2f5588f3ea python-single-r1 75118e916668a74c660a13b0ecb22562 readme.gentoo-r1 b8c7a61664027641d79dcfc04bd366f4
_md5_=84abb5531fdd4d0a5e71bedef2106b11
_md5_=02be84b22ebf50ac90eccb5b5c68661a

View file

@ -1,4 +1,4 @@
DEFINED_PHASES=install postinst setup
DEFINED_PHASES=install postinst prepare setup
DEPEND=acct-group/netbox acct-user/netbox python_single_target_python3_11? ( dev-lang/python:3.11 ) python_single_target_python3_12? ( dev-lang/python:3.12 ) python_single_target_python3_11? ( >=dev-python/bleach-5.0.1[python_targets_python3_11(-)] >=dev-python/django-4.0.8[python_targets_python3_11(-)] <dev-python/django-4.1[python_targets_python3_11(-)] >=dev-python/django-cors-headers-3.13.0[python_targets_python3_11(-)] >=dev-python/django-debug-toolbar-3.7.0[python_targets_python3_11(-)] >=dev-python/django-filter-22.1[python_targets_python3_11(-)] >=dev-python/django-graphiql-debug-toolbar-0.2.0[python_targets_python3_11(-)] >=dev-python/django-mptt-0.14[python_targets_python3_11(-)] >=dev-python/django-pglocks-1.0.4[python_targets_python3_11(-)] >=dev-python/django-prometheus-2.2.0[python_targets_python3_11(-)] >=dev-python/django-redis-5.2.0[python_targets_python3_11(-)] >=dev-python/django-rq-2.6.0[python_targets_python3_11(-)] >=dev-python/django-tables2-2.4.1[python_targets_python3_11(-)] >=dev-python/django-taggit-3.1.0[python_targets_python3_11(-)] >=dev-python/django-timezone-field-5.0[python_targets_python3_11(-)] >=dev-python/djangorestframework-3.14.0[python_targets_python3_11(-)] >=dev-python/drf-yasg-1.21.4[python_targets_python3_11(-),validation] >=dev-python/graphene-django-2.15.0[python_targets_python3_11(-)] >=www-servers/gunicorn-20.1.0[python_targets_python3_11(-)] >=dev-python/jinja-3.1.2[python_targets_python3_11(-)] >=dev-python/markdown-3.3.7[python_targets_python3_11(-)] >=dev-python/mkdocs-material-8.5.11[python_targets_python3_11(-)] dev-python/mkdocstrings-python[python_targets_python3_11(-)] >=dev-python/netaddr-0.8.0[python_targets_python3_11(-)] >=dev-python/pillow-9.3.0[python_targets_python3_11(-)] dev-python/psycopg:2[python_targets_python3_11(-)] >=dev-python/pyyaml-6.0[python_targets_python3_11(-)] >=dev-python/sentry-sdk-1.11.1[python_targets_python3_11(-)] >=dev-python/social-auth-app-django-5.0.0[python_targets_python3_11(-)] >=dev-python/social-auth-core-4.3.0[python_targets_python3_11(-)] >=dev-python/svgwrite-1.4.3[python_targets_python3_11(-)] >=dev-python/tablib-3.2.1[python_targets_python3_11(-)] >=dev-python/tzdata-2022.7[python_targets_python3_11(-)] >=dev-python/jsonschema-3.2.0[python_targets_python3_11(-)] ldap? ( >=dev-python/django-auth-ldap-4.1.0[python_targets_python3_11(-)] ) ) python_single_target_python3_12? ( >=dev-python/bleach-5.0.1[python_targets_python3_12(-)] >=dev-python/django-4.0.8[python_targets_python3_12(-)] <dev-python/django-4.1[python_targets_python3_12(-)] >=dev-python/django-cors-headers-3.13.0[python_targets_python3_12(-)] >=dev-python/django-debug-toolbar-3.7.0[python_targets_python3_12(-)] >=dev-python/django-filter-22.1[python_targets_python3_12(-)] >=dev-python/django-graphiql-debug-toolbar-0.2.0[python_targets_python3_12(-)] >=dev-python/django-mptt-0.14[python_targets_python3_12(-)] >=dev-python/django-pglocks-1.0.4[python_targets_python3_12(-)] >=dev-python/django-prometheus-2.2.0[python_targets_python3_12(-)] >=dev-python/django-redis-5.2.0[python_targets_python3_12(-)] >=dev-python/django-rq-2.6.0[python_targets_python3_12(-)] >=dev-python/django-tables2-2.4.1[python_targets_python3_12(-)] >=dev-python/django-taggit-3.1.0[python_targets_python3_12(-)] >=dev-python/django-timezone-field-5.0[python_targets_python3_12(-)] >=dev-python/djangorestframework-3.14.0[python_targets_python3_12(-)] >=dev-python/drf-yasg-1.21.4[python_targets_python3_12(-),validation] >=dev-python/graphene-django-2.15.0[python_targets_python3_12(-)] >=www-servers/gunicorn-20.1.0[python_targets_python3_12(-)] >=dev-python/jinja-3.1.2[python_targets_python3_12(-)] >=dev-python/markdown-3.3.7[python_targets_python3_12(-)] >=dev-python/mkdocs-material-8.5.11[python_targets_python3_12(-)] dev-python/mkdocstrings-python[python_targets_python3_12(-)] >=dev-python/netaddr-0.8.0[python_targets_python3_12(-)] >=dev-python/pillow-9.3.0[python_targets_python3_12(-)] dev-python/psycopg:2[python_targets_python3_12(-)] >=dev-python/pyyaml-6.0[python_targets_python3_12(-)] >=dev-python/sentry-sdk-1.11.1[python_targets_python3_12(-)] >=dev-python/social-auth-app-django-5.0.0[python_targets_python3_12(-)] >=dev-python/social-auth-core-4.3.0[python_targets_python3_12(-)] >=dev-python/svgwrite-1.4.3[python_targets_python3_12(-)] >=dev-python/tablib-3.2.1[python_targets_python3_12(-)] >=dev-python/tzdata-2022.7[python_targets_python3_12(-)] >=dev-python/jsonschema-3.2.0[python_targets_python3_12(-)] ldap? ( >=dev-python/django-auth-ldap-4.1.0[python_targets_python3_12(-)] ) )
DESCRIPTION=IP address and data center infrastructure management tool
EAPI=8
@ -12,4 +12,4 @@ REQUIRED_USE=^^ ( python_single_target_python3_11 python_single_target_python3_1
SLOT=0
SRC_URI=https://github.com/netbox-community/netbox/archive/v3.3.9.tar.gz -> netbox-3.3.9.tar.gz
_eclasses_=multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 python-utils-r1 8b220bbce5c119fb1d4d5c2f5588f3ea python-single-r1 75118e916668a74c660a13b0ecb22562 readme.gentoo-r1 b8c7a61664027641d79dcfc04bd366f4
_md5_=31531c12800afca3fa0991718a827d5f
_md5_=18e8504e752f31e8d12a4cc78ceca97e

View file

@ -100,6 +100,11 @@ Finally, if you are using webhooks, start the netbox-rqworker service.
[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

View file

@ -98,6 +98,11 @@ Finally, if you are using webhooks, start the netbox-rqworker service.
[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