From e99dce007c1ed233f6d7f061d6ef2a3420f4bb3f Mon Sep 17 00:00:00 2001 From: Joerg Deckert Date: Wed, 5 Mar 2025 14:28:19 +0100 Subject: [PATCH] first release --- acct-group/netbox/Manifest | 2 + acct-group/netbox/metadata.xml | 5 + acct-group/netbox/netbox-0.ebuild | 10 + acct-user/netbox/Manifest | 2 + acct-user/netbox/metadata.xml | 5 + acct-user/netbox/netbox-0.ebuild | 11 ++ .../django-graphiql-debug-toolbar/Manifest | 3 + ...django-graphiql-debug-toolbar-0.2.0.ebuild | 30 +++ .../metadata.xml | 21 +++ dev-python/django-htmx/Manifest | 2 + .../django-htmx/django-htmx-1.22.0.ebuild | 20 ++ dev-python/django-js-asset/Manifest | 3 + .../django-js-asset-3.0.1.ebuild | 32 ++++ dev-python/django-js-asset/metadata.xml | 21 +++ dev-python/django-mptt/Manifest | 3 + .../django-mptt/django-mptt-0.16.ebuild | 33 ++++ dev-python/django-mptt/metadata.xml | 13 ++ dev-python/django-pglocks/Manifest | 4 + .../django-pglocks-1.0.4.ebuild | 22 +++ .../django-pglocks/django-pglocks-9999.ebuild | 23 +++ dev-python/django-pglocks/metadata.xml | 20 ++ dev-python/django-rich/Manifest | 2 + .../django-rich/django-rich-1.14.0.ebuild | 20 ++ dev-python/django-rq/Manifest | 5 + dev-python/django-rq/django-rq-2.10.3.ebuild | 21 +++ dev-python/django-rq/django-rq-3.0.0.ebuild | 21 +++ dev-python/django-rq/metadata.xml | 10 + dev-python/drf-spectacular-sidecar/Manifest | 2 + .../drf-spectacular-sidecar-2025.2.1.ebuild | 18 ++ dev-python/drf-spectacular/Manifest | 2 + .../drf-spectacular-0.28.0.ebuild | 23 +++ dev-python/graphene-django/Manifest | 3 + .../graphene-django-3.2.2.ebuild | 41 +++++ dev-python/graphene-django/metadata.xml | 21 +++ dev-python/graphene/Manifest | 3 + dev-python/graphene/graphene-3.4.3.ebuild | 35 ++++ dev-python/graphene/metadata.xml | 21 +++ dev-python/graphql-core/Manifest | 3 + .../graphql-core/graphql-core-3.2.6.ebuild | 22 +++ dev-python/graphql-core/metadata.xml | 20 ++ dev-python/graphql-relay/Manifest | 3 + .../graphql-relay/graphql-relay-3.2.0.ebuild | 28 +++ dev-python/graphql-relay/metadata.xml | 20 ++ dev-python/promise/Manifest | 3 + dev-python/promise/metadata.xml | 22 +++ dev-python/promise/promise-2.3.0.ebuild | 23 +++ dev-python/pynetbox/Manifest | 2 + dev-python/pynetbox/pynetbox-7.4.1.ebuild | 22 +++ dev-python/python3-openid/Manifest | 3 + dev-python/python3-openid/metadata.xml | 11 ++ .../python3-openid-3.2.0.ebuild | 31 ++++ dev-python/pyyaml/Manifest | 3 + dev-python/pyyaml/metadata.xml | 13 ++ dev-python/pyyaml/pyyaml-6.0.2.ebuild | 48 +++++ dev-python/social-auth-app-django/Manifest | 4 + .../social-auth-app-django/metadata.xml | 21 +++ .../social-auth-app-django-5.4.3.ebuild | 30 +++ .../social-auth-app-django-9999.ebuild | 26 +++ dev-python/social-auth-core/Manifest | 4 + dev-python/social-auth-core/metadata.xml | 21 +++ .../social-auth-core-4.5.6.ebuild | 61 ++++++ .../social-auth-core-9999.ebuild | 59 ++++++ dev-python/strawberry-graphql-django/Manifest | 2 + .../strawberry-graphql-django-0.56.0.ebuild | 20 ++ dev-python/strawberry-graphql/Manifest | 2 + .../strawberry-graphql-0.260.2.ebuild | 20 ++ dev-python/tablib/Manifest | 4 + dev-python/tablib/metadata.xml | 25 +++ dev-python/tablib/tablib-3.4.0.ebuild | 52 ++++++ dev-python/tablib/tablib-9999.ebuild | 51 ++++++ metadata/layout.conf | 1 + profiles/repo_name | 1 + unitas-netbox-overlay.xml | 9 + .../Manifest | 6 + .../files/device-type-library-import.sh | 15 ++ ...ce-type-library-import-env-repo-path.patch | 11 ++ ...ox-device-type-library-import-2.0.2.ebuild | 57 ++++++ www-apps/netbox/Manifest | 15 ++ .../netbox/files/local_settings_branching.py | 18 ++ .../netbox/files/netbox-housekeeping.service | 17 ++ .../netbox/files/netbox-housekeeping.timer | 13 ++ www-apps/netbox/files/netbox-rq.service | 21 +++ www-apps/netbox/files/netbox-rqworker.confd | 7 + www-apps/netbox/files/netbox-rqworker.initd | 13 ++ www-apps/netbox/files/netbox.service | 22 +++ www-apps/netbox/files/nginx.conf | 32 ++++ ...override-systemd-networkd-wait-online.conf | 4 + www-apps/netbox/files/uwsgi.ini | 34 ++++ www-apps/netbox/metadata.xml | 21 +++ www-apps/netbox/netbox-4.2.3.ebuild | 96 ++++++++++ www-apps/netbox/netbox-4.2.4.ebuild | 173 ++++++++++++++++++ .../netboxlabs-netbox-branching/Manifest | 2 + .../netboxlabs-netbox-branching-0.5.3.ebuild | 23 +++ 93 files changed, 1823 insertions(+) create mode 100644 acct-group/netbox/Manifest create mode 100644 acct-group/netbox/metadata.xml create mode 100644 acct-group/netbox/netbox-0.ebuild create mode 100644 acct-user/netbox/Manifest create mode 100644 acct-user/netbox/metadata.xml create mode 100644 acct-user/netbox/netbox-0.ebuild create mode 100644 dev-python/django-graphiql-debug-toolbar/Manifest create mode 100644 dev-python/django-graphiql-debug-toolbar/django-graphiql-debug-toolbar-0.2.0.ebuild create mode 100644 dev-python/django-graphiql-debug-toolbar/metadata.xml create mode 100644 dev-python/django-htmx/Manifest create mode 100644 dev-python/django-htmx/django-htmx-1.22.0.ebuild create mode 100644 dev-python/django-js-asset/Manifest create mode 100644 dev-python/django-js-asset/django-js-asset-3.0.1.ebuild create mode 100644 dev-python/django-js-asset/metadata.xml create mode 100644 dev-python/django-mptt/Manifest create mode 100644 dev-python/django-mptt/django-mptt-0.16.ebuild create mode 100644 dev-python/django-mptt/metadata.xml create mode 100644 dev-python/django-pglocks/Manifest create mode 100644 dev-python/django-pglocks/django-pglocks-1.0.4.ebuild create mode 100644 dev-python/django-pglocks/django-pglocks-9999.ebuild create mode 100644 dev-python/django-pglocks/metadata.xml create mode 100644 dev-python/django-rich/Manifest create mode 100644 dev-python/django-rich/django-rich-1.14.0.ebuild create mode 100644 dev-python/django-rq/Manifest create mode 100644 dev-python/django-rq/django-rq-2.10.3.ebuild create mode 100644 dev-python/django-rq/django-rq-3.0.0.ebuild create mode 100644 dev-python/django-rq/metadata.xml create mode 100644 dev-python/drf-spectacular-sidecar/Manifest create mode 100644 dev-python/drf-spectacular-sidecar/drf-spectacular-sidecar-2025.2.1.ebuild create mode 100644 dev-python/drf-spectacular/Manifest create mode 100644 dev-python/drf-spectacular/drf-spectacular-0.28.0.ebuild create mode 100644 dev-python/graphene-django/Manifest create mode 100644 dev-python/graphene-django/graphene-django-3.2.2.ebuild create mode 100644 dev-python/graphene-django/metadata.xml create mode 100644 dev-python/graphene/Manifest create mode 100644 dev-python/graphene/graphene-3.4.3.ebuild create mode 100644 dev-python/graphene/metadata.xml create mode 100644 dev-python/graphql-core/Manifest create mode 100644 dev-python/graphql-core/graphql-core-3.2.6.ebuild create mode 100644 dev-python/graphql-core/metadata.xml create mode 100644 dev-python/graphql-relay/Manifest create mode 100644 dev-python/graphql-relay/graphql-relay-3.2.0.ebuild create mode 100644 dev-python/graphql-relay/metadata.xml create mode 100644 dev-python/promise/Manifest create mode 100644 dev-python/promise/metadata.xml create mode 100644 dev-python/promise/promise-2.3.0.ebuild create mode 100644 dev-python/pynetbox/Manifest create mode 100644 dev-python/pynetbox/pynetbox-7.4.1.ebuild create mode 100644 dev-python/python3-openid/Manifest create mode 100644 dev-python/python3-openid/metadata.xml create mode 100644 dev-python/python3-openid/python3-openid-3.2.0.ebuild create mode 100644 dev-python/pyyaml/Manifest create mode 100644 dev-python/pyyaml/metadata.xml create mode 100644 dev-python/pyyaml/pyyaml-6.0.2.ebuild create mode 100644 dev-python/social-auth-app-django/Manifest create mode 100644 dev-python/social-auth-app-django/metadata.xml create mode 100644 dev-python/social-auth-app-django/social-auth-app-django-5.4.3.ebuild create mode 100644 dev-python/social-auth-app-django/social-auth-app-django-9999.ebuild create mode 100644 dev-python/social-auth-core/Manifest create mode 100644 dev-python/social-auth-core/metadata.xml create mode 100644 dev-python/social-auth-core/social-auth-core-4.5.6.ebuild create mode 100644 dev-python/social-auth-core/social-auth-core-9999.ebuild create mode 100644 dev-python/strawberry-graphql-django/Manifest create mode 100644 dev-python/strawberry-graphql-django/strawberry-graphql-django-0.56.0.ebuild create mode 100644 dev-python/strawberry-graphql/Manifest create mode 100644 dev-python/strawberry-graphql/strawberry-graphql-0.260.2.ebuild create mode 100644 dev-python/tablib/Manifest create mode 100644 dev-python/tablib/metadata.xml create mode 100644 dev-python/tablib/tablib-3.4.0.ebuild create mode 100644 dev-python/tablib/tablib-9999.ebuild create mode 100644 metadata/layout.conf create mode 100644 profiles/repo_name create mode 100644 unitas-netbox-overlay.xml create mode 100644 www-apps/netbox-device-type-library-import/Manifest create mode 100644 www-apps/netbox-device-type-library-import/files/device-type-library-import.sh create mode 100644 www-apps/netbox-device-type-library-import/files/netbox-device-type-library-import-env-repo-path.patch create mode 100644 www-apps/netbox-device-type-library-import/netbox-device-type-library-import-2.0.2.ebuild create mode 100644 www-apps/netbox/Manifest create mode 100644 www-apps/netbox/files/local_settings_branching.py create mode 100644 www-apps/netbox/files/netbox-housekeeping.service create mode 100644 www-apps/netbox/files/netbox-housekeeping.timer create mode 100644 www-apps/netbox/files/netbox-rq.service create mode 100644 www-apps/netbox/files/netbox-rqworker.confd create mode 100644 www-apps/netbox/files/netbox-rqworker.initd create mode 100644 www-apps/netbox/files/netbox.service create mode 100644 www-apps/netbox/files/nginx.conf create mode 100644 www-apps/netbox/files/override-systemd-networkd-wait-online.conf create mode 100644 www-apps/netbox/files/uwsgi.ini create mode 100644 www-apps/netbox/metadata.xml create mode 100644 www-apps/netbox/netbox-4.2.3.ebuild create mode 100644 www-apps/netbox/netbox-4.2.4.ebuild create mode 100644 www-plugins/netboxlabs-netbox-branching/Manifest create mode 100644 www-plugins/netboxlabs-netbox-branching/netboxlabs-netbox-branching-0.5.3.ebuild diff --git a/acct-group/netbox/Manifest b/acct-group/netbox/Manifest new file mode 100644 index 0000000..8468058 --- /dev/null +++ b/acct-group/netbox/Manifest @@ -0,0 +1,2 @@ +EBUILD netbox-0.ebuild 196 BLAKE2B d0ded63754ddecc346f3098d8f9c4da567a292f31d093479966e0952be9104efc6771bd0eba685dde7ac76df168beeb4acd558c2dc39563399af82f613ab72c2 SHA512 b0f22792a581259b218a49266ba95bbe7c168878fbe19c3fe78c4858c621786c3c33855f9b8a180c99c73f8f53755e0d6f0653f0afe6ed13d0f6c31e059bc45c +MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3 diff --git a/acct-group/netbox/metadata.xml b/acct-group/netbox/metadata.xml new file mode 100644 index 0000000..115e9d6 --- /dev/null +++ b/acct-group/netbox/metadata.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/acct-group/netbox/netbox-0.ebuild b/acct-group/netbox/netbox-0.ebuild new file mode 100644 index 0000000..4336cb3 --- /dev/null +++ b/acct-group/netbox/netbox-0.ebuild @@ -0,0 +1,10 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit acct-group + +DESCRIPTION="A group for www-apps-netbox" + +ACCT_GROUP_ID="431" diff --git a/acct-user/netbox/Manifest b/acct-user/netbox/Manifest new file mode 100644 index 0000000..0ba3622 --- /dev/null +++ b/acct-user/netbox/Manifest @@ -0,0 +1,2 @@ +EBUILD netbox-0.ebuild 201 BLAKE2B 1639703bbe96dfb51b0bfe6d54a27fd16e09b87c2adfeda904c56cfac681cef267695122aa8c4675e11ac59e8d27d6bc6e1c45b835535ed009e3dd9b9a980234 SHA512 a14d39e9a543bf5645714c57eb303e6100fc1f5719f3dc109c5d8d0c9a0adbe2acb4f575bcd401e140da3450900979f9ecd171c7afbeefcca09189883108caf6 +MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3 diff --git a/acct-user/netbox/metadata.xml b/acct-user/netbox/metadata.xml new file mode 100644 index 0000000..115e9d6 --- /dev/null +++ b/acct-user/netbox/metadata.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/acct-user/netbox/netbox-0.ebuild b/acct-user/netbox/netbox-0.ebuild new file mode 100644 index 0000000..f026884 --- /dev/null +++ b/acct-user/netbox/netbox-0.ebuild @@ -0,0 +1,11 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit acct-user + +ACCT_USER_ID="431" +ACCT_USER_GROUPS=( "netbox" ) + +acct-user_add_deps diff --git a/dev-python/django-graphiql-debug-toolbar/Manifest b/dev-python/django-graphiql-debug-toolbar/Manifest new file mode 100644 index 0000000..5238a5f --- /dev/null +++ b/dev-python/django-graphiql-debug-toolbar/Manifest @@ -0,0 +1,3 @@ +DIST django-graphiql-debug-toolbar-0.2.0.tar.gz 21390 BLAKE2B f2c2ce44ac4d434a8b89d382393b375eb6e923c5d6c66b25a13a5b438a2877f8d1ebbeece8ddf15f0929af15a93c905545d07839721d9d3f113b909dd3c7a274 SHA512 0b53ad7520ae22d9962fd338d5c5444bec7783bceef25d69a3c654d81fe143ede59458a6c68118569b4e7f46225984914b36db722ba14b03e0a3577c6ae10b2c +EBUILD django-graphiql-debug-toolbar-0.2.0.ebuild 789 BLAKE2B d3042a704a4a0faabaea67fa524a12569d2db02bc3e6d24c47648300536094599ce5d2358e38d5dbda3527a93b44f7e6d7a9320d9a703c2c6f998930ea19dba3 SHA512 6cfaebb9270e739752842a00b01e8b7c9b27463866289e88959cf290c886b13928ddfb8597e882ab86ab6f3b491183d3ab7704a3ba6b97a995e8fcba4fc3c651 +MISC metadata.xml 724 BLAKE2B 7565a22b0372a12b8d791941f605501defe03dfba719db7411c09cec2226b426a216b7ac90416db11153b9dcfcb51f0f4b1648eb17220de01f5fa1fb2cdee2fc SHA512 967b9ebb825a1563b50a53374dae6c2d92287a321613929362f7dd9d5a3d9a0ea34923eb11e8e9b2d5a2c5c1c026a2caa471cbe43a8110be3b2de0f5825b4b6d diff --git a/dev-python/django-graphiql-debug-toolbar/django-graphiql-debug-toolbar-0.2.0.ebuild b/dev-python/django-graphiql-debug-toolbar/django-graphiql-debug-toolbar-0.2.0.ebuild new file mode 100644 index 0000000..c941c32 --- /dev/null +++ b/dev-python/django-graphiql-debug-toolbar/django-graphiql-debug-toolbar-0.2.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8..13} ) + +inherit distutils-r1 + +DESCRIPTION="Django Debug Toolbar for GraphiQL IDE" +HOMEPAGE="https://github.com/flavors/django-graphiql-debug-toolbar" +SRC_URI="https://github.com/flavors/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="test" # fails + +RDEPEND="dev-python/django[${PYTHON_USEDEP}] + dev-python/django-debug-toolbar[${PYTHON_USEDEP}] + dev-python/graphene-django[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +python_prepare_all() { + sed -i 's/include = \[/# include = \[/' pyproject.toml || die "sed failed for pytest.ini" + + distutils-r1_python_prepare_all +} diff --git a/dev-python/django-graphiql-debug-toolbar/metadata.xml b/dev-python/django-graphiql-debug-toolbar/metadata.xml new file mode 100644 index 0000000..504bb00 --- /dev/null +++ b/dev-python/django-graphiql-debug-toolbar/metadata.xml @@ -0,0 +1,21 @@ + + + + + spiderx@spiderx.dp.ua + Vladimir Pavljuchenkov + + + proxy-maint@gentoo.org + Proxy Maintainers + + + This package is an extension for Django Debug Toolbar + which enables support for debugging GraphiQL queries + in Django Projects. + + + flavors/django-graphiql-debug-toolbar + django-graphiql-debug-toolbar + + diff --git a/dev-python/django-htmx/Manifest b/dev-python/django-htmx/Manifest new file mode 100644 index 0000000..f7e3191 --- /dev/null +++ b/dev-python/django-htmx/Manifest @@ -0,0 +1,2 @@ +DIST django_htmx-1.22.0.tar.gz 9621 BLAKE2B 8ca5e50957707cb12999758706fa9d887d4b6cfa6bbf970e7351342e2a88a32624bffd8f1a8dd5e11caf2ddf62344483cceba2cfe663c6e38277059e51a587c8 SHA512 97750504b5036e2ce1221d9b095cbd6eb0373fba3ab49f4a156d0a739057364fbc435b17bf7cd22810e2cc367cd739cba0d29180855b4a15986e50c8f7236cc0 +EBUILD django-htmx-1.22.0.ebuild 405 BLAKE2B 36536f4b90abfced5185fa209553f54f18dc32db0ea06de9d001b74f49f0dbabfcf9fbf4810d7d92f69f35b1a7ee7199fa005320e981993aa40004671ac15e7d SHA512 597d77d9f0f1844e1cc3cacadb062f64bb6e2601f09329e2d316b93c2322653c02d0ebe58a238d87f9ac5b3abdb49263f45e6a915309a6708accfca27cb306da diff --git a/dev-python/django-htmx/django-htmx-1.22.0.ebuild b/dev-python/django-htmx/django-htmx-1.22.0.ebuild new file mode 100644 index 0000000..ad35117 --- /dev/null +++ b/dev-python/django-htmx/django-htmx-1.22.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Extensions for using Django with htmx." +HOMEPAGE="https://github.com/adamchainz/django-htmx" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/django[${PYTHON_USEDEP}] +" diff --git a/dev-python/django-js-asset/Manifest b/dev-python/django-js-asset/Manifest new file mode 100644 index 0000000..5f0f0b5 --- /dev/null +++ b/dev-python/django-js-asset/Manifest @@ -0,0 +1,3 @@ +DIST django-js-asset-3.0.tar.gz 7338 BLAKE2B f626b6bcf14e28ec0eeaefa687384ee161c5bdcdb2642d366660d3983ff52fe3ed41638a2cf50b9cc3fc993dd139e9d39cac4e94f1f34cbbf034659b004c4378 SHA512 36aad4b67fc866c0cd8b80cbe3d43bf39fa01a5277401e1c5ad87b487ac3a1643fe857b27166ae9f79b225e8ac1b74a1d79295fe9c80418a74b3ed35ea5b48e2 +EBUILD django-js-asset-3.0.1.ebuild 796 BLAKE2B cba2429ced0fd8cc58706187b8fd708a162130e7e0e998ac97072e0dadc29ed86b71c9d539db3fd46000385bdc5cd44a1c3c1514403c315d2ba48400f1e5373f SHA512 4c467e90f4c394ceb191d52240436951858121a813b1e943d345be831d898f3a6793f066a857f3c760881279e6376539ccf9b1661b04b5c9dfebfd6871f11b4d +MISC metadata.xml 743 BLAKE2B c2f8b0f22bcdab74f2d6b4823c6b2a7603fccb60da9e4a92955040d532d010b787154970cbc91bf9583facaba2943b84103b1655c88821a84f9731b7f034c174 SHA512 0276599c38b1a5c60ea81863f474000d6e4889481120d732d1a6b9be9532ee9b7ef3ef1c38436eee7ff555ea6e176b900d89b1e0556779377b1e7856d0e85627 diff --git a/dev-python/django-js-asset/django-js-asset-3.0.1.ebuild b/dev-python/django-js-asset/django-js-asset-3.0.1.ebuild new file mode 100644 index 0000000..cb3dea4 --- /dev/null +++ b/dev-python/django-js-asset/django-js-asset-3.0.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8..12} ) + +MY_PV="$(ver_cut 1-2)" +MY_P="${PN}-${MY_PV}" + +inherit distutils-r1 + +DESCRIPTION="A script tag with additional attributes for django.forms.Media" +HOMEPAGE="https://github.com/matthiask/django-js-asset" +SRC_URI="https://github.com/matthiask/${PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="test" # fails + +RDEPEND="dev-python/django[${PYTHON_USEDEP}]" +BDEPEND="test? ( $(python_gen_impl_dep sqlite) ) " + +S="${WORKDIR}/${MY_P}" + +distutils_enable_tests unittest + +python_test() { + ./tests/manage.py test testapp --verbosity 2 || die "tests failed with ${EPYTHON}" +} diff --git a/dev-python/django-js-asset/metadata.xml b/dev-python/django-js-asset/metadata.xml new file mode 100644 index 0000000..0107e64 --- /dev/null +++ b/dev-python/django-js-asset/metadata.xml @@ -0,0 +1,21 @@ + + + + + spiderx@spiderx.dp.ua + Vladimir Pavljuchenkov + + + proxy-maint@gentoo.org + Proxy Maintainers + + + A script tag with additional attributes for django.forms.Media, + which can be used to insert additional attributes, such as id and + data-* for CSP-compatible data injection. + + + matthiask/django-js-asset + django-js-asset + + diff --git a/dev-python/django-mptt/Manifest b/dev-python/django-mptt/Manifest new file mode 100644 index 0000000..8a6faa3 --- /dev/null +++ b/dev-python/django-mptt/Manifest @@ -0,0 +1,3 @@ +DIST django-mptt-0.16.gh.tar.gz 308600 BLAKE2B 8bc93219edc9d4f2f1907401e9984982d5433f470064b6db969b5e0d1bd965ff872f05c678548303003026fb95242f3f7cfb1568ba713ac1277867b89b9698e4 SHA512 98f40f2b51e8d48f6b872d6775968282d135ca60d13e9a36a811ef54506f957fa5abe3098e1f68476709d80966558db69809f3d2ff5f5a4a1a69c43931e4c141 +EBUILD django-mptt-0.16.ebuild 727 BLAKE2B dddb82566a38482ec4648654670902bc30127afc84d0b5c1560956b897115ea8ee0db21b14f91e000392a4f4f22c1720e68b8bbea8741ae39a58d0d4a12f71d6 SHA512 ae2163bb74816985c509bbc69db97e2347dca903f8dd247f6ba51a1178adb5c3aac45480a3350afd4726c69ac73dcf77e3a02e63dc2b006d074dc6163194bd30 +MISC metadata.xml 402 BLAKE2B 72c5dc1e76719489fd013527bdd115e06b501cd8553d4235581cbd3b76a6f4249dbfd83108eb48ee3e376690f42d952a7a5b0fc4707d9717c1f7ed05bb49d785 SHA512 455d5799930883238de0b64552fdbcaa233e9ceea31fb459e9eee382ef142ab7785bb6029287c8a2eb0ed288f60faa6bec7dc3015de6f52399c2c6e5e4b8cab7 diff --git a/dev-python/django-mptt/django-mptt-0.16.ebuild b/dev-python/django-mptt/django-mptt-0.16.ebuild new file mode 100644 index 0000000..e8fc277 --- /dev/null +++ b/dev-python/django-mptt/django-mptt-0.16.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9..12} ) + +inherit distutils-r1 + +DESCRIPTION="Utilities for modified preorder tree traversal and trees of Model instances" +HOMEPAGE=" + https://github.com/django-mptt/django-mptt/ + https://pypi.org/project/django-mptt/ +" +SRC_URI=" + https://github.com/django-mptt/django-mptt/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/django[${PYTHON_USEDEP}] + dev-python/django-js-asset[${PYTHON_USEDEP}] +" + +python_test() { + "${EPYTHON}" tests/manage.py test -v2 myapp || + die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/django-mptt/metadata.xml b/dev-python/django-mptt/metadata.xml new file mode 100644 index 0000000..d008d8d --- /dev/null +++ b/dev-python/django-mptt/metadata.xml @@ -0,0 +1,13 @@ + + + + + python@gentoo.org + Python + + + + django-mptt + django-mptt/django-mptt + + diff --git a/dev-python/django-pglocks/Manifest b/dev-python/django-pglocks/Manifest new file mode 100644 index 0000000..847c72f --- /dev/null +++ b/dev-python/django-pglocks/Manifest @@ -0,0 +1,4 @@ +DIST django-pglocks-1.0.4.tar.gz 4085 BLAKE2B 8aaaaaf3b6ace4fb179117dd7b5064245ed9bcc44d0a613e3fd8a048196a15c9d9243bd683388b318c5ebab68b81b111c214ae3a7c3575ac86dcfe6e34a65403 SHA512 bb0a7dc18142fb668cb2f47acf48e62118c17b824d1d04407d253b1bcb3e572a38341e851f53f5e44e48fb6241d4c977e4971686e1f1feca191b27f6e9d7b133 +EBUILD django-pglocks-1.0.4.ebuild 535 BLAKE2B ce4a3c752294a379bf622c968d4ef78746aacf2f8903876ce3191ce8aaf7a32f074de536b7e327c0a81c9fca41f467f39d37eb3e2ef51d5b9eef0fd18cb3d2a1 SHA512 3c5a3ffd8f99062e0ec6458d8c2147d8781c6e889eac813667042917a1a2d975fe6172ff8131245cc58a62cca1659ea3192d918eb42b001cb9b6dcfc45ad08c2 +EBUILD django-pglocks-9999.ebuild 539 BLAKE2B afe437c2910d63a39d15fcc7b853159853b81bc2713f09d11c48f64518c0cdeccd02ee2b7f812b0335163a3d83c9d11154a4d429e73d6a5c921ca66241df8130 SHA512 23727b2072b2de578573302a3c66edbaad708db039e702a03e7da11a993648a5b5c5f3ac5335b1d121af490ad0e1d90b0af8c876191e6637dca23245b0eca256 +MISC metadata.xml 694 BLAKE2B 449941ac357ff360b3b51ef71e4b78b47e8026cdc3177aa4bd1803b36bee4eb9f5204d76971c3807020589609dc94b4b10024674f9d6e1d4a75f966fb50f3d43 SHA512 bed86ae8e658a9e51511d79c51aff9e4e2afc81cea438c463d5f29cf2ce3c459838eae3795e4e671641f986bd77941f45d7b80b80707e2d08e3b492020179404 diff --git a/dev-python/django-pglocks/django-pglocks-1.0.4.ebuild b/dev-python/django-pglocks/django-pglocks-1.0.4.ebuild new file mode 100644 index 0000000..69c840b --- /dev/null +++ b/dev-python/django-pglocks/django-pglocks-1.0.4.ebuild @@ -0,0 +1,22 @@ +# 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_{8..12} ) + +inherit distutils-r1 + +DESCRIPTION="PostgreSQL locking context managers and functions for Django" +HOMEPAGE="https://github.com/Xof/django-pglocks" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="test" # needs posgtresql + +RDEPEND="dev-python/six[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest diff --git a/dev-python/django-pglocks/django-pglocks-9999.ebuild b/dev-python/django-pglocks/django-pglocks-9999.ebuild new file mode 100644 index 0000000..b8fe2dc --- /dev/null +++ b/dev-python/django-pglocks/django-pglocks-9999.ebuild @@ -0,0 +1,23 @@ +# 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_{8..12} ) +EGIT_REPO_URI="https://github.com/Xof/${PN}.git" + +inherit distutils-r1 git-r3 + +DESCRIPTION="PostgreSQL locking context managers and functions for Django" +HOMEPAGE="https://github.com/Xof/django-pglocks" +SRC_URI="" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" +RESTRICT="test" # needs posgtresql + +RDEPEND="dev-python/six[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest diff --git a/dev-python/django-pglocks/metadata.xml b/dev-python/django-pglocks/metadata.xml new file mode 100644 index 0000000..b30070b --- /dev/null +++ b/dev-python/django-pglocks/metadata.xml @@ -0,0 +1,20 @@ + + + + + spiderx@spiderx.dp.ua + Vladimir Pavljuchenkov + + + proxy-maint@gentoo.org + Proxy Maintainers + + + django-pglocks provides a useful context manager to manage PostgreSQL + advisory locks. It requires Django, PostgreSQL, and psycopg2. + + + Xof/django-pglocks + django-pglocks + + diff --git a/dev-python/django-rich/Manifest b/dev-python/django-rich/Manifest new file mode 100644 index 0000000..0d8c864 --- /dev/null +++ b/dev-python/django-rich/Manifest @@ -0,0 +1,2 @@ +DIST django_rich-1.14.0.tar.gz 61077 BLAKE2B 6d67aa36130dbcd6a5fae3b1766187f2334405f0bc50fa9848623e76a8adb1f9c5714743c2c6d91b42bee907d8b1cc4d7d23ec581617f35299869b1c591f64ec SHA512 a67f66de0e7235f1c8cb933dd2bc4b889dc82329d36a63700e30f5edc07700297e12594a8c1e1232dda8c4ee5455d71677872102b7b3b42696ed3c28de6b7373 +EBUILD django-rich-1.14.0.ebuild 405 BLAKE2B 38519bcd1c1f829d13781acecc4054099eaebd04ecb06ea48916aa2fbc63760d61e7f5f206e50330d7c0487837eddf0c292f8c33f89ab8394104d5c1f9d3bac8 SHA512 e7a11f0593833a112d7f7623c0ef251a807c34be539481871e04a2042e3cfd0846f03e2d73cd75c64f676d36117e351d5d0b3ad122f69597dada701d5481f4b0 diff --git a/dev-python/django-rich/django-rich-1.14.0.ebuild b/dev-python/django-rich/django-rich-1.14.0.ebuild new file mode 100644 index 0000000..1e22287 --- /dev/null +++ b/dev-python/django-rich/django-rich-1.14.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Extensions for using Rich with Django." +HOMEPAGE="https://github.com/adamchainz/django-rich" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/django[${PYTHON_USEDEP}] +" diff --git a/dev-python/django-rq/Manifest b/dev-python/django-rq/Manifest new file mode 100644 index 0000000..f81418b --- /dev/null +++ b/dev-python/django-rq/Manifest @@ -0,0 +1,5 @@ +DIST django-rq-2.10.3.tar.gz 49043 BLAKE2B 5266c1c0a69c676dd9f6c4a16d889001b115febf39b6cea448c52c90883b9886d2088f51b6f7f80f30395929d251f95216519edeeee031daa551dba4790aad1a SHA512 e187893ed3ce279eaba106b6111b5c803f39a7b8d2945c1a927926d763893c46190052eca7e27de1c32d0ca4d3d9d19d2863a53c60b0d3bd55681b436d059735 +DIST django-rq-3.0.0.tar.gz 53356 BLAKE2B 26730092b12fd9691507d9435ab24881208d89b9f6873355dccaa718edadd2ebaae4cc32a6a38ffa2a1e9dc18097807688e1b16869ddb15cfff90c854ce72f24 SHA512 5385897d5ebb0099e3708cbab93de6d1dcedf097335e9bf5fd80a003d85c9cd2eb9d4beba39db74f7a80280f4fd7430a34fbdcda22018b802568af5ba1253599 +EBUILD django-rq-2.10.3.ebuild 491 BLAKE2B aac44060b57572c9ad9cc4fb89fe4bc3582fc29244840b3ba82184895a2e9372e426ac5e7dcb549e33ca0fb419c06913734c9247753ad4e086704ef551560d79 SHA512 8cd0b820f84ca9ea883657ad09539b67558a003cea33daab1196d6a48ce913dfa4e4ce45d4c3041c5c5cb89d43349e50db0bb539493d3d86614a4bdf35746666 +EBUILD django-rq-3.0.0.ebuild 490 BLAKE2B 00d65fc927962f8bfe75c5c645a07ffa8e4438d2809424848bbd104c4e0933ddcfa24341a0d0998e772d083900c0b5a517229ab0d71eba8cf471229d36aa1c08 SHA512 c2c2484e427a324c044721a7971ce691fcc6ca78dc16df77f59547707dc6842b79e9aecbf1cd4210faf2f1bdca7bea3d0fb2c73ab133179c9a0cc848796713dc +MISC metadata.xml 316 BLAKE2B f5387b05ac5d04367f7ebd083df1a6a3542e3e7db686acd586448ec9598225908969cb26f6da14da8de015b98e830642e5bc3aea509a72bb77cd86b11fcd8435 SHA512 45e25be4719c078c3e2720edbc7161dcf14be0a50461fd29369a09ffe641f13e82ebdba9e05bd061ef11d62cc3c322ba7872656fb1b0310d95c10f8bb2d9c072 diff --git a/dev-python/django-rq/django-rq-2.10.3.ebuild b/dev-python/django-rq/django-rq-2.10.3.ebuild new file mode 100644 index 0000000..905f666 --- /dev/null +++ b/dev-python/django-rq/django-rq-2.10.3.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..12} ) +PYPI_NO_NORMALIZE=1 +inherit distutils-r1 pypi + +DESCRIPTION="An app that provides django integration for RQ (Redis Queue)" +HOMEPAGE="https://github.com/rq/django-rq/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/django-2.0[${PYTHON_USEDEP}] + =dev-python/redis-3.0.0[${PYTHON_USEDEP}] +" diff --git a/dev-python/django-rq/django-rq-3.0.0.ebuild b/dev-python/django-rq/django-rq-3.0.0.ebuild new file mode 100644 index 0000000..d7e803f --- /dev/null +++ b/dev-python/django-rq/django-rq-3.0.0.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..13} ) +PYPI_NO_NORMALIZE=1 +inherit distutils-r1 pypi + +DESCRIPTION="An app that provides django integration for RQ (Redis Queue)" +HOMEPAGE="https://github.com/rq/django-rq/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/django-3.2[${PYTHON_USEDEP}] + >=dev-python/rq-2[${PYTHON_USEDEP}] + >=dev-python/redis-3.5[${PYTHON_USEDEP}] +" diff --git a/dev-python/django-rq/metadata.xml b/dev-python/django-rq/metadata.xml new file mode 100644 index 0000000..96cadc4 --- /dev/null +++ b/dev-python/django-rq/metadata.xml @@ -0,0 +1,10 @@ + + + + + + + rq/django-rq + django-rq + + diff --git a/dev-python/drf-spectacular-sidecar/Manifest b/dev-python/drf-spectacular-sidecar/Manifest new file mode 100644 index 0000000..babcc88 --- /dev/null +++ b/dev-python/drf-spectacular-sidecar/Manifest @@ -0,0 +1,2 @@ +DIST drf_spectacular_sidecar-2025.2.1.tar.gz 2390256 BLAKE2B 40cdcfd1a8011de3d8d4a729548821b394bdfe83b6888a57298f2d1bac42a7e20e7e989a675f409edf015fd57102bfa132f93961985b4b7d7b922f1dbc2a3d1f SHA512 21d2d2d5312cb0d9089a9b6862c9001260aae74d97fe68939dcd953e356f7050d63962e239c9b2e12ee58d948d401590af9bb55576dd2177020343d102435c8b +EBUILD drf-spectacular-sidecar-2025.2.1.ebuild 430 BLAKE2B 7bea9525396fe8c148ae37c4a696089d7031490af96b0f09f576fde7ad7fefb5ebe0239ddc010dbb056038a057e10168e58747588ade32661a128350b2531b54 SHA512 0079ed138d71f8855787a46e3ff405d33dc4b87849846f930860d32e2cec4d51ef7eb5c36772a9fbdd78c9257153e21b101a8c6e7a4f547b77e6ac9e9afa0006 diff --git a/dev-python/drf-spectacular-sidecar/drf-spectacular-sidecar-2025.2.1.ebuild b/dev-python/drf-spectacular-sidecar/drf-spectacular-sidecar-2025.2.1.ebuild new file mode 100644 index 0000000..13960dc --- /dev/null +++ b/dev-python/drf-spectacular-sidecar/drf-spectacular-sidecar-2025.2.1.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +inherit distutils-r1 pypi + +DESCRIPTION="Serve self-contained distribution builds of Swagger UI and Redoc with Django." +HOMEPAGE="https://github.com/tfranzel/drf-spectacular-sidecar" + +LICENSE="BSD-3" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/django-2.2[${PYTHON_USEDEP}] +" diff --git a/dev-python/drf-spectacular/Manifest b/dev-python/drf-spectacular/Manifest new file mode 100644 index 0000000..b74e4aa --- /dev/null +++ b/dev-python/drf-spectacular/Manifest @@ -0,0 +1,2 @@ +DIST drf_spectacular-0.28.0.tar.gz 237849 BLAKE2B 57aafa4619cd0eea9cfe18159c2f6f5bd15832683f96ffe871e946cf4b73cdc210bfbafe06e1d70c46ae53bb79ae8a27d46df9d70a305d7b0872bbf519f9b4c2 SHA512 f3989dc9cc7ce0c214134d62057aceb771cc69c352742f8fbe6abf4f491a5f1fc682776aaa252b713f4db184bbcaf0665476327d48a780b3e1abf563985a5750 +EBUILD drf-spectacular-0.28.0.ebuild 667 BLAKE2B e077f9d09667ad25dca25d4383c142519c71c1dd2401470c773f1b0503a17633b4f3f73c7a26646f71af8b3f5bff8761e2191740d98a65e32f8cc29380531667 SHA512 999438950f557f16085143f45c80e46a18b72169bf22d8b45f3d71a62f861744818850302faf27d604e18b44f0c30a341991835e471f61431ae01adcd2caa248 diff --git a/dev-python/drf-spectacular/drf-spectacular-0.28.0.ebuild b/dev-python/drf-spectacular/drf-spectacular-0.28.0.ebuild new file mode 100644 index 0000000..28d545f --- /dev/null +++ b/dev-python/drf-spectacular/drf-spectacular-0.28.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +inherit distutils-r1 pypi + +DESCRIPTION="Sane and flexible OpenAPI 3 schema generation for Django REST framework." +HOMEPAGE="https://github.com/tfranzel/drf-spectacular" + +LICENSE="BSD-3" +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}] +" diff --git a/dev-python/graphene-django/Manifest b/dev-python/graphene-django/Manifest new file mode 100644 index 0000000..6f95f46 --- /dev/null +++ b/dev-python/graphene-django/Manifest @@ -0,0 +1,3 @@ +DIST graphene-django-3.2.2.tar.gz 129224 BLAKE2B 9f14b6e7116c4a72ae242d1f20eed1d7901040fd79236bbd923bb73b5025ab7d0ebab592245abf5a96097575c3f07da7060b97c052ab2ac9a9ab4fa0ae5c9ab6 SHA512 d425197bbf8db9b8c73bb92feb080af258863b009625c11ace5d4b4c26484c24ee4c178c2ee17fd6c12769dac1a037dbf7003dbf747456dd69f5433fb2b69721 +EBUILD graphene-django-3.2.2.ebuild 1152 BLAKE2B c86b08f797ce2706a8de684423181959a9797a59c292e62d0e8b22e72f34d5cc2d89f8167813a8e6cd2850ed45807982f1a147b45c54529cc975cccaf2569aab SHA512 16bf9c2c7626245e0df7f357e968af6a2f5368d311669b73dd73cb1bd769bdc24c0a83f5e6fc63767fe8d2b4c65adbfdec4c17e6583444e0f9a3155e475ff923 +MISC metadata.xml 746 BLAKE2B 6d8ca2744082500ba62ec166718f5802ba10a4075301c1e2fac36b16d6b7953393abb898ae2a455104b0001f3c90bda5b6b959ff6134449b176b2887bb2e50fc SHA512 c38bc1c5199e4856137d51710adf7cb1b5d5273a5a7b408f061252cf96e5e335cd8354c05c7afd26987f2b26e7fa708ad3be85eb8fe53e9f2a66f6b6dfc98b53 diff --git a/dev-python/graphene-django/graphene-django-3.2.2.ebuild b/dev-python/graphene-django/graphene-django-3.2.2.ebuild new file mode 100644 index 0000000..cee56fc --- /dev/null +++ b/dev-python/graphene-django/graphene-django-3.2.2.ebuild @@ -0,0 +1,41 @@ +# 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_{8..13} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="A Django integration for Graphene" +HOMEPAGE="https://github.com/graphql-python/graphene-django" +SRC_URI="https://github.com/graphql-python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="test" # fails + +RDEPEND="dev-python/django[${PYTHON_USEDEP}] + dev-python/graphene[${PYTHON_USEDEP}] + dev-python/graphql-core[${PYTHON_USEDEP}] + dev-python/promise[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/text-unidecode[${PYTHON_USEDEP}]" +BDEPEND="test? ( dev-python/django-filter[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +python_prepare_all() { + sed -i '/pytest-runner/d' setup.py || die "sed failed" + + distutils-r1_python_prepare_all +} + +pkg_postinst() { + optfeature "integration with Django REST Framework" dev-python/djangorestframework +} diff --git a/dev-python/graphene-django/metadata.xml b/dev-python/graphene-django/metadata.xml new file mode 100644 index 0000000..084e85c --- /dev/null +++ b/dev-python/graphene-django/metadata.xml @@ -0,0 +1,21 @@ + + + + + spiderx@spiderx.dp.ua + Vladimir Pavljuchenkov + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Graphene-Django is built on top of Graphene. + Graphene-Django provides some additional abstractions that make + it easy to add GraphQL functionality to your Django project. + + + graphql-python/graphene-django + graphene-django + + diff --git a/dev-python/graphene/Manifest b/dev-python/graphene/Manifest new file mode 100644 index 0000000..1364fb8 --- /dev/null +++ b/dev-python/graphene/Manifest @@ -0,0 +1,3 @@ +DIST graphene-3.4.3.tar.gz 112601 BLAKE2B 7da2571269ba980c46cbfdf85e14aa43f06585f0b41d8613459d4fb76e2097be5e09e8c774fa79b0875fc374e3e20ae86fc7c8334b12fffa1a42752aeda7dd34 SHA512 24cc0134e813e4bbd56a959fe13b9c4cf3e4ff03faa7903462f129501646ab26b3a67466b3868e97e630f423f584ee5ec180c0bc2e97223890e3ffa699916410 +EBUILD graphene-3.4.3.ebuild 1049 BLAKE2B aed8e33cc62f5183e0bfc96357b7b8145028c4ca2f689d180ae9931e5ae05ccc062bc5e642d74bf29a1c1a49e63c9425da6b70f0080ed9994634fe06aaf78a5d SHA512 9d4279471a62df7d38d2105c0e8d5e69ea08f5befc5e3f9ebd4663f6f41316d284b3e4d951dad39e516099ad6f242b805660b05fa3bdec1e2d8ef070cca1ab5c +MISC metadata.xml 764 BLAKE2B 66844f835106f9a53df2f73bafff9c4eee77d1a8851c831a04be54f1fedce23703e2c5b9b96cc40f6431fece6fa1db01fc27384da3d58b8b050678a82cb5c73d SHA512 0818258c27ee389ef011164dc82167a4d0a30f7be4f1f53a09da95e2760717dfbb5221d89850ecc54762e2f765ce94d327af23780c5b8e848c3cd678165bf006 diff --git a/dev-python/graphene/graphene-3.4.3.ebuild b/dev-python/graphene/graphene-3.4.3.ebuild new file mode 100644 index 0000000..8edccca --- /dev/null +++ b/dev-python/graphene/graphene-3.4.3.ebuild @@ -0,0 +1,35 @@ +# 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_{8..13} ) + +inherit distutils-r1 + +DESCRIPTION="GraphQL framework for Python" +HOMEPAGE="https://github.com/graphql-python/graphene" +SRC_URI="https://github.com/graphql-python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/aniso8601[${PYTHON_USEDEP}] + dev-python/graphql-core[${PYTHON_USEDEP}] + dev-python/graphql-relay[${PYTHON_USEDEP}]" +BDEPEND="test? ( dev-python/promise[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-benchmark[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/snapshottest[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # assertion error + graphene/relay/tests/test_node.py::test_node_query_incorrect_id + graphene/utils/tests/test_deduplicator.py::test_example_end_to_end +) diff --git a/dev-python/graphene/metadata.xml b/dev-python/graphene/metadata.xml new file mode 100644 index 0000000..e0a8091 --- /dev/null +++ b/dev-python/graphene/metadata.xml @@ -0,0 +1,21 @@ + + + + + spiderx@spiderx.dp.ua + Vladimir Pavljuchenkov + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Graphene is an opinionated Python library for building GraphQL schemas + and types fast and easily. Graphene supports any kind of data source: + SQL (Django, SQLAlchemy), NoSQL, custom Python objects, etc. + + + graphql-python/graphene + graphene + + diff --git a/dev-python/graphql-core/Manifest b/dev-python/graphql-core/Manifest new file mode 100644 index 0000000..c85a851 --- /dev/null +++ b/dev-python/graphql-core/Manifest @@ -0,0 +1,3 @@ +DIST graphql-core-3.2.6.tar.gz 504806 BLAKE2B 361ae1c6315f89674eef69f70220ff29df71d687a024cd0dcb53c7799faf33d922148472b3589ce60c6c95bcb7669a496bd6248dacf659f6362dd90e1eb77a62 SHA512 7081dc75928f080480dc88668ea104bbbb639d07da2d16c8435ee476139c5965881c22eb2e1617572c5da89b8ef1fd56dd69d1a9c21902a8812d2bc37427222a +EBUILD graphql-core-3.2.6.ebuild 574 BLAKE2B 8620ae8ce47881ce499f4a7d2c58f1ba3d6150d86cefef577566df1f61096b4856534c74a2baa8653154a758dd28e3ab6d8541f0cc4762a573c2ae4bba56793a SHA512 b61f82b7bb46b315be54cfcd7b86dba3f6717d2564762eb48fb223ba2e7e2033cf71c3a82ff1532c616f562904862159de9d1d7aabdf73cacfd37cb167e9d8c3 +MISC metadata.xml 716 BLAKE2B 62c006fb4737e0af4f7fcc38660c924bcef45d58872f5c75eaae114b29ef27f4f0b64cc7f550b7043907cb523efc947955fcb95deccc77d4c2cd75c256f51266 SHA512 1d8c68cdb8dffafa6052b7c9d1f5812646b8c78bf51144fb34ec621ea74b7da44349fb8bbcd44bd9e0522cdd56709d175c55a0a9e5d144c13dc0bbf71a9f7731 diff --git a/dev-python/graphql-core/graphql-core-3.2.6.ebuild b/dev-python/graphql-core/graphql-core-3.2.6.ebuild new file mode 100644 index 0000000..7d53906 --- /dev/null +++ b/dev-python/graphql-core/graphql-core-3.2.6.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8..13} ) + +inherit distutils-r1 + +DESCRIPTION="Python port of GraphQL.js" +HOMEPAGE="https://github.com/graphql-python/graphql-core" +SRC_URI="https://github.com/graphql-python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="test? ( dev-python/pytest-benchmark[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest diff --git a/dev-python/graphql-core/metadata.xml b/dev-python/graphql-core/metadata.xml new file mode 100644 index 0000000..5fcaba0 --- /dev/null +++ b/dev-python/graphql-core/metadata.xml @@ -0,0 +1,20 @@ + + + + + spiderx@spiderx.dp.ua + Vladimir Pavljuchenkov + + + proxy-maint@gentoo.org + Proxy Maintainers + + + GraphQL-core 3 is a Python port of GraphQL.js, the JavaScript reference + implementation for GraphQL, a query language for APIs created by Facebook. + + + graphql-python/graphql-core + graphql-core + + diff --git a/dev-python/graphql-relay/Manifest b/dev-python/graphql-relay/Manifest new file mode 100644 index 0000000..5047516 --- /dev/null +++ b/dev-python/graphql-relay/Manifest @@ -0,0 +1,3 @@ +DIST graphql-relay-py-3.2.0.tar.gz 44884 BLAKE2B 0a711eb470acd83512eadce4d4537e72a3c1afa71cbd5bd9475bd195e9fd827949bcea437cdf8c6185e531e7409bf40cd708ab7ad5440f5be9c7382194ee1d9e SHA512 c3f269af5b7b623dc5261825253e7f6d8246e37bcbf26f1958f2a9d1383edeb205c11f0ca85ccb9d5b032fabab2ff50f91d8bb88343b85bdc0a2aca477063695 +EBUILD graphql-relay-3.2.0.ebuild 744 BLAKE2B a3ca23e963673c9f8b29a340257d9a33872edd843d6bbb9bf67774e1b6bf1ae1fabd7a1f38a9d007792c0e56baf503c0159ea59712fdae70d1605a0f873b0b47 SHA512 bc91c0fc4a7047e44757c81a9adb544e7a4d6b4280b0d164f92fccb4e2985278fa2987bb0d2d77850a6fdc359ef32147b66ac6f546a5d213cf7b77ab1b3b2ee9 +MISC metadata.xml 736 BLAKE2B a3367e9f0526b06abb9aed3e5d8da0b2cb4039839834bd5658970fea59008fb7da7529ad44ce50b2bd146c7cdaa0be4de4f20789b693ea7568bf3fcde4b71091 SHA512 0aa04caff2124d5763a4f084d8df364abda39e0262f6b389c6cf08ff41f3dd04142c837ec616f9c71ee33027de10296d22610483c89debfd21bc2f3f4000b7a2 diff --git a/dev-python/graphql-relay/graphql-relay-3.2.0.ebuild b/dev-python/graphql-relay/graphql-relay-3.2.0.ebuild new file mode 100644 index 0000000..a9a351a --- /dev/null +++ b/dev-python/graphql-relay/graphql-relay-3.2.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8..13} ) + +inherit distutils-r1 + +MY_PN="${PN}-py" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A library to help construct a graphql-py server supporting react-relay" +HOMEPAGE="https://github.com/graphql-python/graphql-relay-py" +SRC_URI="https://github.com/graphql-python/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/graphql-core[${PYTHON_USEDEP}]" +BDEPEND="test? ( dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-describe[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${MY_P}" + +distutils_enable_tests pytest diff --git a/dev-python/graphql-relay/metadata.xml b/dev-python/graphql-relay/metadata.xml new file mode 100644 index 0000000..1160251 --- /dev/null +++ b/dev-python/graphql-relay/metadata.xml @@ -0,0 +1,20 @@ + + + + + spiderx@spiderx.dp.ua + Vladimir Pavljuchenkov + + + proxy-maint@gentoo.org + Proxy Maintainers + + + GraphQL-Relay-Py is a Python port of graphql-relay-js, while GraphQL-Core is + a Python port of GraphQL.js, the reference implementation of GraphQL for JavaScript. + + + graphql-python/graphql-relay-py + graphql-relay + + diff --git a/dev-python/promise/Manifest b/dev-python/promise/Manifest new file mode 100644 index 0000000..3e758e3 --- /dev/null +++ b/dev-python/promise/Manifest @@ -0,0 +1,3 @@ +DIST promise-2.3.0.tar.gz 28147 BLAKE2B d7ea153e320cbba4fa074355b48ed25fcd5d80679cb7386f7d7c1fd09fe0559c7c970bae9c3121cde99e2cf8b98d6c496e6382b0e2ca14ad35ae9f82425cf376 SHA512 5b0b6879b2a3abe244d85ec4667ea3c594cb5051887af275226d0f05a50e9735b0fbf4c8890bba55d24d0daf45629db2506c53a784025e706a56705600199958 +EBUILD promise-2.3.0.ebuild 634 BLAKE2B 33c30ef68b63b0e8074f59fedfee37a36eceba5863b5770b31e1236dfa3b62021e011fbb2e58e58b52b37fdcdf140b6dcba41470be267d2206dc75802a2fe98e SHA512 f76394cf0e03d3e77a13e05e5117bd31c7b38f7691dcd09f80f261b220142ad71db98ea4a7c68631c6b7387c51dd97e7be695407ce39b156553bea83ded21d00 +MISC metadata.xml 777 BLAKE2B 79432337f56d6ebd7e63887c717b69799cd9bb989bd74b9f411e379035234aef523b309c9f17037bcc4da1deed3b4555e8e6ab5af8cf2c915e3287693fd5b041 SHA512 1f761d94bc5051757058847b665b5e4b3df47932cc1b7c32c854321bde93c6076733e0c643800a1eefd790fc716a95418280de1905a19bd8217484ad1c8b7e7b diff --git a/dev-python/promise/metadata.xml b/dev-python/promise/metadata.xml new file mode 100644 index 0000000..4a3aaf9 --- /dev/null +++ b/dev-python/promise/metadata.xml @@ -0,0 +1,22 @@ + + + + + spiderx@spiderx.dp.ua + Vladimir Pavljuchenkov + + + proxy-maint@gentoo.org + Proxy Maintainers + + + This is a implementation of Promises in Python. It is a super set of + Promises/A+ designed to have readable, performant code and to provide + just the extensions that are absolutely necessary for using promises + in Python. + + + syrusakbary/promise + promise + + diff --git a/dev-python/promise/promise-2.3.0.ebuild b/dev-python/promise/promise-2.3.0.ebuild new file mode 100644 index 0000000..d27b1dd --- /dev/null +++ b/dev-python/promise/promise-2.3.0.ebuild @@ -0,0 +1,23 @@ +# 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_{8..13} ) + +inherit distutils-r1 + +DESCRIPTION="Ultra-performant Promise implementation in Python" +HOMEPAGE="https://github.com/syrusakbary/promise" +SRC_URI="https://github.com/syrusakbary/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +BDEPEND="test? ( dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-benchmark[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest diff --git a/dev-python/pynetbox/Manifest b/dev-python/pynetbox/Manifest new file mode 100644 index 0000000..6c7d8df --- /dev/null +++ b/dev-python/pynetbox/Manifest @@ -0,0 +1,2 @@ +DIST pynetbox-7.4.1.tar.gz 68223 BLAKE2B 31c48bd2bbc3e9a624b506a89e7f8ad976c5608779e5c56c2e7e8062670698b7324b17e6d14ee791a5e93e524d9635293e91cded8e29f31ad8fe78c2f32d629a SHA512 db2db560a36aec133fc203d32f104780367623c4e7dd5c20209b71424d07d5f2030850b51a80017accfea983816b0cdb937b7c16ec7b0d756dbb925264288e36 +EBUILD pynetbox-7.4.1.ebuild 493 BLAKE2B 3e1f6cf304c9cf56c8933339d13fcf28260e8f30dc61668eb453e4cbc5f319b114acece4da5de45193bbb1a598683061f503786d36bec23798a445ac4a184251 SHA512 ae91fb2e8828ebd63f489a16c76264b13118bcbfb5b3e17472e08f72fc2dd296739c87b1cf203127978236e907075a40c2360024494d9a71d3e0338867a4ae6a diff --git a/dev-python/pynetbox/pynetbox-7.4.1.ebuild b/dev-python/pynetbox/pynetbox-7.4.1.ebuild new file mode 100644 index 0000000..556cafc --- /dev/null +++ b/dev-python/pynetbox/pynetbox-7.4.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python API client library for Netbox." +HOMEPAGE="https://github.com/netbox-community/pynetbox" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64" + +RDEPEND=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] +" diff --git a/dev-python/python3-openid/Manifest b/dev-python/python3-openid/Manifest new file mode 100644 index 0000000..585b446 --- /dev/null +++ b/dev-python/python3-openid/Manifest @@ -0,0 +1,3 @@ +DIST python3-openid-3.2.0.tar.gz 305600 BLAKE2B d793eb61335d7240d5c25324b8377d19781df15012c8da6d5d0d7445c8a7fcb31711156b48d32efae8b6de27509e8f9112535ece7820779ca9b7f2e7be04fb0f SHA512 54412820fef21928e1bf30d16c9bc73d454e9ff41df028a12047c08abdb4c2c9e1d9053daebab8b0327cb0fe0f67e364c2506a47509fef6db5bff42f8399b799 +EBUILD python3-openid-3.2.0.ebuild 697 BLAKE2B 1671acacde775cfa4a53b1eb1ff6e4cad491d297756f0b8d30e69b9583712c6b1e293a94105dc3aeb863c5e742798fc714492d572c2a2d239b176e0c5de84ddf SHA512 15920e4164881e7101ab903131c55bcb6c541d47f67c2d9ebe949c85a5544a14eddc2a35dfcf4030e91b44f48f127c4970699f36f465a6cd15128339995f6389 +MISC metadata.xml 356 BLAKE2B 9b59b5e374b06608bf65fb653f038851282482aa74102688003e5e21bbaa3447c01205ca92425761510651cb4bdb1ea2b5f7edb663daa4088c7d273e88df2fde SHA512 317b8fb4594458a2ef89845f12449b6b26021aa25ba3726b5767ffb161d1ced925c12d0834801145cca86af495b4fe867ecd87baf0cbc71c6acd17d6994b7202 diff --git a/dev-python/python3-openid/metadata.xml b/dev-python/python3-openid/metadata.xml new file mode 100644 index 0000000..ecb01b9 --- /dev/null +++ b/dev-python/python3-openid/metadata.xml @@ -0,0 +1,11 @@ + + + + + hanno@gentoo.org + + + python3-openid + necaris/python3-openid + + diff --git a/dev-python/python3-openid/python3-openid-3.2.0.ebuild b/dev-python/python3-openid/python3-openid-3.2.0.ebuild new file mode 100644 index 0000000..1c2e330 --- /dev/null +++ b/dev-python/python3-openid/python3-openid-3.2.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..12} ) +PYPI_NO_NORMALIZE=1 +inherit distutils-r1 pypi + +DESCRIPTION="OpenID support for modern servers and consumers" +HOMEPAGE="https://github.com/necaris/python3-openid" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-python/defusedxml[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( ${RDEPEND} + dev-python/django[${PYTHON_USEDEP}] + dev-python/psycopg[${PYTHON_USEDEP}] + ) +" + +DOCS=( NEWS.md README.md ) + +python_test() { + "${EPYTHON}" -m unittest -v openid.test.test_suite || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/pyyaml/Manifest b/dev-python/pyyaml/Manifest new file mode 100644 index 0000000..c3191cd --- /dev/null +++ b/dev-python/pyyaml/Manifest @@ -0,0 +1,3 @@ +DIST pyyaml-6.0.2.gh.tar.gz 123883 BLAKE2B 16ea7f376e45caccb461a18d4347fb06ffaf0dfd65b18e5bd7e74a14ffdce05c9c016c54bd6a501b444bd813f1bfc78999f212ca72cfabf3b125f5ab2f37167e SHA512 c72665131296762521d9ae4fc1c8619946f46ea16ad98b6b8e995828f2cdbd1ed61741fc2d646753f71d95a352b36562a1302f0cb646d5705652cd24b2f10b16 +EBUILD pyyaml-6.0.2.ebuild 959 BLAKE2B 530a87466323cc3255e261240d257898139727ea1be2224d3e5c55185a4943b1323a524bf9ae7205aa47534d8c8927c5462bb65b7a62b70b32e34b44214bdc7b SHA512 bfe39a147171040f8b859439a732122191a48f4f53d318ccc70d5aa82d1bc7602a69aa90325af85560b5c027d90301c9b70cce98e5516d4be12287cfec45179a +MISC metadata.xml 426 BLAKE2B 6216e38c3e79e811aced6c777b49779953abf4f1b0a1185947f6a6fdc851fdf4cc973092024a6cb2d76bf06863feb49742c7a6892a8761b48a5e74902757a610 SHA512 f549b70fcf1588625fcc2bc33ad0c41faa267ad5bb84d564f5502dee1ad2340a663d1a2b92cf9fdeed827a5f7cebdbe76d59166e89de6d03e7933141029c051d diff --git a/dev-python/pyyaml/metadata.xml b/dev-python/pyyaml/metadata.xml new file mode 100644 index 0000000..ceaaa2e --- /dev/null +++ b/dev-python/pyyaml/metadata.xml @@ -0,0 +1,13 @@ + + + + + python@gentoo.org + Python + + + cpe:/a:pyyaml_project:pyyaml + PyYAML + yaml/pyyaml + + diff --git a/dev-python/pyyaml/pyyaml-6.0.2.ebuild b/dev-python/pyyaml/pyyaml-6.0.2.ebuild new file mode 100644 index 0000000..5bdf89c --- /dev/null +++ b/dev-python/pyyaml/pyyaml-6.0.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +DISTUTILS_EXT=1 +inherit distutils-r1 + +DESCRIPTION="YAML parser and emitter for Python" +HOMEPAGE=" + https://pyyaml.org/wiki/PyYAML + https://pypi.org/project/PyYAML/ + https://github.com/yaml/pyyaml/ +" +SRC_URI=" + https://github.com/yaml/pyyaml/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="examples" + +DEPEND=" + dev-libs/libyaml:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] +" + +distutils_enable_tests setup.py + +src_configure() { + export PYYAML_FORCE_CYTHON=1 +} + +python_install_all() { + distutils-r1_python_install_all + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF} + fi +} diff --git a/dev-python/social-auth-app-django/Manifest b/dev-python/social-auth-app-django/Manifest new file mode 100644 index 0000000..a599773 --- /dev/null +++ b/dev-python/social-auth-app-django/Manifest @@ -0,0 +1,4 @@ +DIST social-app-django-5.4.3.tar.gz 25327 BLAKE2B 10b7194aa06a65661acb475905fc498bc3b682dd5e99f5d9eb44ee7b8e19f291dfb7edc3a7f752f60257d7022b630e2cb97e0e35fdc18410115ba2cd0dc5b78e SHA512 d49c167f5b980faf89244487cd1339b3217703eaff5c7c7aeb70613e74e7c6f4ccb19c364e417b272216e11692b434304234ec45c6d89582b82e26df847dd612 +EBUILD social-auth-app-django-5.4.3.ebuild 709 BLAKE2B 4895eaf2dfeaa4352c6bd4cc9b67b59cdacca51d755555a94b608c3cc3ec0af90947a2c3af56ec83aaef2e633114916b12aa08bd6e8f970e0a9a0df93e10c97a SHA512 6771201994c1f0e3aaf675712369400bb73eb973c67f78587a165e083eaa63358eac4820e251b4827e0a17f26ab0a17f6177153fc359313d9e3958fbc6f8c293 +EBUILD social-auth-app-django-9999.ebuild 632 BLAKE2B b29146e5e45687d99884348cc3e86d6c7de1f1acd6b8b999bd6c046221ec96576561fa2fa63bf4dda9747d146909202bba8ac9c97b58474313764769defab73f SHA512 42a4c2e883d6d79fbc99b7520d6704586953c30388396a99c80b6a80052d868d8adf9dad1938f9b8d74d8d426bd4ff39905de0350ac8107cf4cdf92b90ea35b3 +MISC metadata.xml 751 BLAKE2B 08b24536e12f129b646e4810f7c890ea2924a52a5c2a87328731ec4d0f731039cca518449b648596c520a9fffca844f3efd021ec2e66504f7881707ca77165cb SHA512 98ff774e4195301c3c9beaa95f7c5016ef2aa739909542d6f76c37604c972004f80f21bcbfd1bf3593aeb7c7185135a47455a28cb20b9cb7244f664e851aeef3 diff --git a/dev-python/social-auth-app-django/metadata.xml b/dev-python/social-auth-app-django/metadata.xml new file mode 100644 index 0000000..9811a17 --- /dev/null +++ b/dev-python/social-auth-app-django/metadata.xml @@ -0,0 +1,21 @@ + + + + + spiderx@spiderx.dp.ua + Vladimir Pavljuchenkov + + + proxy-maint@gentoo.org + Proxy Maintainers + + + This is the Django component of the python-social-auth ecosystem, + it implements the needed functionality to integrate social-auth-core + in a Django based project. + + + python-social-auth/social-app-django + social-auth-app-django + + diff --git a/dev-python/social-auth-app-django/social-auth-app-django-5.4.3.ebuild b/dev-python/social-auth-app-django/social-auth-app-django-5.4.3.ebuild new file mode 100644 index 0000000..23f4738 --- /dev/null +++ b/dev-python/social-auth-app-django/social-auth-app-django-5.4.3.ebuild @@ -0,0 +1,30 @@ +# 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_{8..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" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/social-auth-core[${PYTHON_USEDEP}]" + +S="${WORKDIR}/${MY_P}" + +distutils_enable_tests pytest + +python_test() { + "${PYTHON}" manage.py test -v2 || die "tests failed with ${EPYTHON}" +} diff --git a/dev-python/social-auth-app-django/social-auth-app-django-9999.ebuild b/dev-python/social-auth-app-django/social-auth-app-django-9999.ebuild new file mode 100644 index 0000000..0b99408 --- /dev/null +++ b/dev-python/social-auth-app-django/social-auth-app-django-9999.ebuild @@ -0,0 +1,26 @@ +# 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_{8..12} ) +EGIT_REPO_URI="https://github.com/python-social-auth/social-app-django.git" + +inherit distutils-r1 git-r3 + +DESCRIPTION="Python Social Auth - Application - Django" +HOMEPAGE="https://github.com/python-social-auth/social-app-django" +SRC_URI="" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="" + +RDEPEND="dev-python/social-auth-core[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +python_test() { + "${PYTHON}" manage.py test -v2 || die "tests failed with ${EPYTHON}" +} diff --git a/dev-python/social-auth-core/Manifest b/dev-python/social-auth-core/Manifest new file mode 100644 index 0000000..0ffecf0 --- /dev/null +++ b/dev-python/social-auth-core/Manifest @@ -0,0 +1,4 @@ +DIST social-core-4.5.6.tar.gz 213850 BLAKE2B b6a2ab9b63e3617751953b1bb947d2d21f6b5707972ba45a2a9c82932629294cc7329a52281ffe4d9dc9b8a9b6d0a3e336a6b879df34a2e6b7555ab287405567 SHA512 02e27934c644706a74ae4c6406f3514ef6c73410e3182d4644d829bc81407a4f63013930b61437e2e15d174cf70b2bb3cdcde988e657b43906b867af4c980d21 +EBUILD social-auth-core-4.5.6.ebuild 2401 BLAKE2B a5c0bba8de19bdb5ebd10253e6054c2da46bf3e3d2ebf8093c285d0180e7addab26586e6b3d56d3116e6e540448387f924d176c998d82c4803c8befdd025c2a3 SHA512 d6f9b5779b794d4f1c78a18cf813a3ca419aa902c5844fd33c432d3a57a4b35b0b6c1c96d2ed6264860016b9a3eed003671d3a1d3a749f4a5e208d0440d10d9f +EBUILD social-auth-core-9999.ebuild 2342 BLAKE2B 2f56db818f9296a3f5fa1e5fe0292b0ab0eb496885160fe565caf2c9333b0fc959e1d7383fd8900749a7a29a93e91bcf87b71380080acf6ab45cb93dd3595023 SHA512 0d1b2bb40a09db6564867de0ba28fd9a73d56c7c9217112a1039d5edfd777854bf78c2cbf8d510bf3ef3c20992069cae14f8433f19ee7225274c8006547f161c +MISC metadata.xml 721 BLAKE2B c8925c6c317948cc8fd3d9b880ed87d6f398c12ee3f1180adea544b24596a9f5924888f8d2afcbfc3dfa3e67f14660d4a6ddd8efda9848c6bd90b7660ff4b1fb SHA512 667352abe11671a32e51751898ac8327cdc3f7aac48ec99ffbe7c2d579d64be98ef31b75b14e6bfc69b623088f61db1a6124aba0b22e703848a0ff285e6a0114 diff --git a/dev-python/social-auth-core/metadata.xml b/dev-python/social-auth-core/metadata.xml new file mode 100644 index 0000000..89b4f23 --- /dev/null +++ b/dev-python/social-auth-core/metadata.xml @@ -0,0 +1,21 @@ + + + + + spiderx@spiderx.dp.ua + Vladimir Pavljuchenkov + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Python Social Auth is an easy to setup social authentication and + registration mechanism with support for several frameworks and + auth providers. + + + python-social-auth/social-core + social-auth-core + + diff --git a/dev-python/social-auth-core/social-auth-core-4.5.6.ebuild b/dev-python/social-auth-core/social-auth-core-4.5.6.ebuild new file mode 100644 index 0000000..b54efc9 --- /dev/null +++ b/dev-python/social-auth-core/social-auth-core-4.5.6.ebuild @@ -0,0 +1,61 @@ +# 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_{8..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" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/defusedxml[${PYTHON_USEDEP}] + dev-python/oauthlib[${PYTHON_USEDEP}] + dev-python/pyjwt[${PYTHON_USEDEP}] + dev-python/python3-openid[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-oauthlib[${PYTHON_USEDEP}]" +BDEPEND="test? ( dev-python/httpretty[${PYTHON_USEDEP}] + dev-python/python-jose[${PYTHON_USEDEP}] + dev-python/python3-saml[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${MY_P}" + +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 +} diff --git a/dev-python/social-auth-core/social-auth-core-9999.ebuild b/dev-python/social-auth-core/social-auth-core-9999.ebuild new file mode 100644 index 0000000..69a9d3b --- /dev/null +++ b/dev-python/social-auth-core/social-auth-core-9999.ebuild @@ -0,0 +1,59 @@ +# 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_{8..10} ) +EGIT_REPO_URI="https://github.com/python-social-auth/social-core.git" + +inherit distutils-r1 git-r3 optfeature + +DESCRIPTION="Python Social Auth - Core" +HOMEPAGE="https://github.com/python-social-auth/social-core" +SRC_URI="" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="" + +RDEPEND="dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/defusedxml[${PYTHON_USEDEP}] + dev-python/oauthlib[${PYTHON_USEDEP}] + dev-python/pyjwt[${PYTHON_USEDEP}] + dev-python/python3-openid[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-oauthlib[${PYTHON_USEDEP}]" +BDEPEND="test? ( dev-python/httpretty[${PYTHON_USEDEP}] + dev-python/python-jose[${PYTHON_USEDEP}] + dev-python/python3-saml[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${MY_P}" + +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 +} diff --git a/dev-python/strawberry-graphql-django/Manifest b/dev-python/strawberry-graphql-django/Manifest new file mode 100644 index 0000000..c0cefea --- /dev/null +++ b/dev-python/strawberry-graphql-django/Manifest @@ -0,0 +1,2 @@ +DIST strawberry_graphql_django-0.56.0.tar.gz 76593 BLAKE2B 831e35b47006dc6ffd3e7cfbe988c56f58b759371ed6143b5abd88c5f36875f12d39d375273582ebff11017155e0775ec67441d88fea24608ecd69e16e6c8d0a SHA512 3d8e2ba7ea8c864f91e55e6d70a67670ace83cd97432ae65d43c380565a1b5d5f1559b25340cca4f215c6bbe3fa1865ea0a4b3a4b8232d062f91c0e1c0fddce1 +EBUILD strawberry-graphql-django-0.56.0.ebuild 430 BLAKE2B 1cf256c2632fda80f2c1a911f8af194a5bfc3c135e658781d7317dae52758636729f195a9899ab231a343dda59fe588c70e514508def255af5a3de4923f1db3d SHA512 c4253ca90ac72ea815255f3cef2bf833d620cf2959aa2d9b6a5e4cf7854433470b62b7db81f1b620cba96e86d8b694439a2d182e790914954488b6521ff260e8 diff --git a/dev-python/strawberry-graphql-django/strawberry-graphql-django-0.56.0.ebuild b/dev-python/strawberry-graphql-django/strawberry-graphql-django-0.56.0.ebuild new file mode 100644 index 0000000..bb663f2 --- /dev/null +++ b/dev-python/strawberry-graphql-django/strawberry-graphql-django-0.56.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{9..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A GraphQL library for Python that leverages type annotations" +HOMEPAGE="https://github.com/strawberry-graphql/strawberry" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/django[${PYTHON_USEDEP}] +" diff --git a/dev-python/strawberry-graphql/Manifest b/dev-python/strawberry-graphql/Manifest new file mode 100644 index 0000000..9afeb1e --- /dev/null +++ b/dev-python/strawberry-graphql/Manifest @@ -0,0 +1,2 @@ +DIST strawberry_graphql-0.260.2.tar.gz 202257 BLAKE2B 32588e7c09b5021211eec6436989dc6b904eae7dfcb35ef6bbeeddf42e4c92463e50ae1b698936c7998b898583aee07515c2d8ec1219b93d59cbdade0991e600 SHA512 6cd031f6d41cfe7db362f39d06f36d7221dbba0d05b08f4199906305abe28b37287486d2c20f922fc58a00ca5344c791641adbc30f02e48690b6e9996a8acaee +EBUILD strawberry-graphql-0.260.2.ebuild 430 BLAKE2B 1cf256c2632fda80f2c1a911f8af194a5bfc3c135e658781d7317dae52758636729f195a9899ab231a343dda59fe588c70e514508def255af5a3de4923f1db3d SHA512 c4253ca90ac72ea815255f3cef2bf833d620cf2959aa2d9b6a5e4cf7854433470b62b7db81f1b620cba96e86d8b694439a2d182e790914954488b6521ff260e8 diff --git a/dev-python/strawberry-graphql/strawberry-graphql-0.260.2.ebuild b/dev-python/strawberry-graphql/strawberry-graphql-0.260.2.ebuild new file mode 100644 index 0000000..bb663f2 --- /dev/null +++ b/dev-python/strawberry-graphql/strawberry-graphql-0.260.2.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{9..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A GraphQL library for Python that leverages type annotations" +HOMEPAGE="https://github.com/strawberry-graphql/strawberry" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/django[${PYTHON_USEDEP}] +" diff --git a/dev-python/tablib/Manifest b/dev-python/tablib/Manifest new file mode 100644 index 0000000..4e9d00d --- /dev/null +++ b/dev-python/tablib/Manifest @@ -0,0 +1,4 @@ +DIST tablib-3.4.0.gh.tar.gz 90960 BLAKE2B 1a5c26069185cc883ff2e007c7bf9f6581ec821780beb07bfb3473a00edb6ce982fad104762120ebfab7dc7c6ac0020121edd58f56453866f5bd9cff529c1a0b SHA512 70e4e1358bd855d87a2460e26d0b8fc7406944d6db1bc877e1c9c5184ca03027b2e17020874a048fda05c9ff1adaf956205674d7c11b314082235fc441bbf9e1 +EBUILD tablib-3.4.0.ebuild 1553 BLAKE2B 0b2204df2837ea3fe7af0ba62d3fb90546d7d08a3b82aa7bad6dcdb45042826333c3c8556ae1b7f99b4b8b4756020bd7f5cd704b71af5d3d617ba10a4a69c8d0 SHA512 7d9489884985f4a58b5fd228b2e64f71301fe628fbeea299b040bf7271924662f730e86d3d240bfcaacdd4bc912e40b421a22ca300b71f68902379017f14bfa6 +EBUILD tablib-9999.ebuild 1482 BLAKE2B c7b7fc76884cb79b12cfcc3588b67daa37dfcbb6076a6bd6e30e937501f01b633e36d700ecfb2f3c619b02626f6e22c54cd91542efe5cb79fbee07ce67a97912 SHA512 9e4c145ad9784336ed54362cc89d9b7df49d5944f9d800a19e81eb73339259f151eeee30c0ec8d4bf144444b2dd5797c0289aefc2611a9558aadc042b848b245 +MISC metadata.xml 791 BLAKE2B 92abded70acd81ea8b27217923e6c23a2e944e4cbfa62a36b5a3280a065ba63fa02ab60324393997d4281aec18040f1024bc0f334780fd840202285b698e4967 SHA512 27c5e6c4fc12bc77b156bab6e9c8e79454eed1b4885c3cddf64555174df108ef113668a373d2c0f5765adc4a9615145676a0470b2542bde8059781490acfb328 diff --git a/dev-python/tablib/metadata.xml b/dev-python/tablib/metadata.xml new file mode 100644 index 0000000..924d03e --- /dev/null +++ b/dev-python/tablib/metadata.xml @@ -0,0 +1,25 @@ + + + + + spiderx@spiderx.dp.ua + Vladimir Pavljuchenkov + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Tablib is a format-agnostic tabular dataset library. + Output formats supported: Excel, JSON, YAML, Pandas, HTML, Jira, + TSV, ODS, CSV, DBF. + + + Support for xls + Support for yaml + + + jazzband/tablib + tablib + + diff --git a/dev-python/tablib/tablib-3.4.0.ebuild b/dev-python/tablib/tablib-3.4.0.ebuild new file mode 100644 index 0000000..514ddcb --- /dev/null +++ b/dev-python/tablib/tablib-3.4.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10,11,12} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Format-agnostic tabular dataset library" +HOMEPAGE="https://github.com/jazzband/tablib" +SRC_URI="https://github.com/jazzband/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="xls yaml" + +RDEPEND="xls? ( dev-python/xlrd[${PYTHON_USEDEP}] + dev-python/xlwt[${PYTHON_USEDEP}] ) + yaml? ( dev-python/pyyaml[${PYTHON_USEDEP}] )" +BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}] + 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}] )" + +distutils_enable_tests pytest + +python_prepare_all() { + export SETUPTOOLS_SCM_PRETEND_VERSION="${PV}" + + # Disable pytest options + sed -i '/addopts/d' pytest.ini || die "sed failed for pytest.ini" + + distutils-r1_python_prepare_all +} + +pkg_postinst() { + optfeature "support cli" dev-python/tabulate + optfeature "support html" dev-python/MarkupPy + optfeature "support ods" dev-python/odfpy + optfeature "support pandas" dev-python/pandas + optfeature "support xls" dev-python/xlrd dev-python/xlwt + optfeature "support xlsx" dev-python/openpyxl + optfeature "support yaml" dev-python/pyyaml +} diff --git a/dev-python/tablib/tablib-9999.ebuild b/dev-python/tablib/tablib-9999.ebuild new file mode 100644 index 0000000..88d3067 --- /dev/null +++ b/dev-python/tablib/tablib-9999.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10,11,12} ) +EGIT_REPO_URI="https://github.com/jazzband/${PN}.git" + +inherit distutils-r1 git-r3 optfeature + +DESCRIPTION="Format-agnostic tabular dataset library" +HOMEPAGE="https://github.com/jazzband/tablib" +SRC_URI="" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" +IUSE="xls yaml" + +RDEPEND="xls? ( dev-python/xlrd[${PYTHON_USEDEP}] + dev-python/xlwt[${PYTHON_USEDEP}] ) + yaml? ( dev-python/pyyaml[${PYTHON_USEDEP}] )" +BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}] + 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}] )" + +distutils_enable_tests pytest + +python_prepare_all() { + # Disable pytest options + sed -i '/addopts/d' pytest.ini || die "sed failed for pytest.ini" + + distutils-r1_python_prepare_all +} + +pkg_postinst() { + optfeature "support cli" dev-python/tabulate + optfeature "support html" dev-python/MarkupPy + optfeature "support ods" dev-python/odfpy + optfeature "support pandas" dev-python/pandas + optfeature "support xls" dev-python/xlrd dev-python/xlwt + optfeature "support xlsx" dev-python/openpyxl + optfeature "support yaml" dev-python/pyyaml +} diff --git a/metadata/layout.conf b/metadata/layout.conf new file mode 100644 index 0000000..d43e61c --- /dev/null +++ b/metadata/layout.conf @@ -0,0 +1 @@ +masters = gentoo diff --git a/profiles/repo_name b/profiles/repo_name new file mode 100644 index 0000000..32236a7 --- /dev/null +++ b/profiles/repo_name @@ -0,0 +1 @@ +unitas-netbox diff --git a/unitas-netbox-overlay.xml b/unitas-netbox-overlay.xml new file mode 100644 index 0000000..3d09347 --- /dev/null +++ b/unitas-netbox-overlay.xml @@ -0,0 +1,9 @@ + + + + Gentoo overlay for Netbox and dependencies. + It contains ebuilds mainly for internal use without any + warranty. + https://www.unitas-network.de + + diff --git a/www-apps/netbox-device-type-library-import/Manifest b/www-apps/netbox-device-type-library-import/Manifest new file mode 100644 index 0000000..1ea214b --- /dev/null +++ b/www-apps/netbox-device-type-library-import/Manifest @@ -0,0 +1,6 @@ +AUX device-type-library-import.sh 498 BLAKE2B 366a117ca624645cbc3fc3d8735710aec6464defc2e166d2c1e1abde64557df6a0f0b1587b90266009db377f384e69a252cd79b60f0e4b46a167d5fbaf48beff SHA512 9ccbc669223e621118a246fb799058d3807b40db65ca2914787593c185b7ed40ca17622538a9aa010f15ef84d3e38d2886b68f96c5cc11a16d211a982a3b0b09 +AUX netbox-device-type-library-import-env-repo-path.patch 603 BLAKE2B 2423b381dd6840eea1c19c066fd187076cc08de712476b2d58f1c8ed7f2bf222e0d2d6998c85cd22dea994fabf4e344bfeb12106c8f5782b47c00be3bc974ec7 SHA512 04f2fd080560fcb14205fd3d4341ff71145d727a46b3d0bde77bd43b47d814a08397db7d9ef307e7a0a1657689208bb24d68017184715f196d675685677f78ec +DIST netbox-device-type-library-import-2.0.2.tar.gz 11284 BLAKE2B 65ef5fcd8c70c38b7904c823e84ea2c3c6927adc9986b3f21de45e3520e4b43b8608db3fc35e991a4d71b054f583bab6c751369be7a484c12b93d54618fe9e85 SHA512 a6b892cad1d1dc7a6e56ff480d595b0e9976c676684800deeff115293bf4c2dc574a86fa5de9177e0ca5f598d95c5bd81df824f2bd4faf57719159097b50744c +DIST netbox-device-type-library-import-fix-import-with-slugs.patch 1098 BLAKE2B 57119a0aaf67d0463ed36602c2ba6cd3a5702d9ef34b8d9f999bb1b5bbd1cd5eef6ee6cae9f85f4d816b2ae6fbd7aadca0d9cfbd5350c494bfa6393dc656b685 SHA512 27f58348d8a3989dd67423a59d0c5824c050461785767ad4474d127e76fa888bf98264112e75626ccb114470d15c8c47204226d4e370b1c0bf89ba77de1f6a4c +DIST netbox-device-type-library-import-new-filters.patch 31934 BLAKE2B 9dd174f8f69a81a3068f23f5702301050334909538c43f931278aa4294a1dd1c368ed7a0aee43832faf7741afcccf9c2bde395020a2772c67e90d9e75f03db77 SHA512 3b39f77abe2f297e8b2142f3b92a0ea7315175fd9c4b9bdee9661f60cbb13e4d9266767572df42bdfe7cce17c855b9c98ff3598baf2ca4314553b3696f99f48e +EBUILD netbox-device-type-library-import-2.0.2.ebuild 1792 BLAKE2B 8c754d479fca13b981efb09d81e5b503d09e1eebebc5d4440f778b79e516a642eeedb75eb31ce33399f0148e97ebec4fa3d4c210a43625367d330f53fbc64e1f SHA512 066fa417e3d59d8c7b1d8a6a3a38c411e6990f7ded67c6d1385490a5eaeb57e074cd97e153b995c6fc0380c3a8583e23239579fef6b9728952edb289dae6c6b6 diff --git a/www-apps/netbox-device-type-library-import/files/device-type-library-import.sh b/www-apps/netbox-device-type-library-import/files/device-type-library-import.sh new file mode 100644 index 0000000..67ffc43 --- /dev/null +++ b/www-apps/netbox-device-type-library-import/files/device-type-library-import.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +export NETBOX_URL=https://netbox.example.com/ +export NETBOX_TOKEN= +export REPO_URL=https://github.com/netbox-community/devicetype-library.git +export REPO_BRANCH=master +export REPO_PATH=/var/lib/netbox-device-type-library-import/repo +export IGNORE_SSL_ERRORS=False +export VENDORS="hpe" +##export VENDORS="cisco,generic,mikrotik" +##export SLUGS="mikrotik-crs317-1g-16s-plus-rm,mikrotik-crs328-24p-4s-plus-rm" + +/usr/lib/netbox-device-type-library-import/nb-dt-import.py + +exit 0 diff --git a/www-apps/netbox-device-type-library-import/files/netbox-device-type-library-import-env-repo-path.patch b/www-apps/netbox-device-type-library-import/files/netbox-device-type-library-import-env-repo-path.patch new file mode 100644 index 0000000..9f3962a --- /dev/null +++ b/www-apps/netbox-device-type-library-import/files/netbox-device-type-library-import-env-repo-path.patch @@ -0,0 +1,11 @@ +--- a/settings.py 2025-02-18 18:55:05.000000000 +0100 ++++ b/settings.py 2025-02-19 08:23:58.539717797 +0100 +@@ -11,7 +11,7 @@ + NETBOX_URL = os.getenv("NETBOX_URL") + NETBOX_TOKEN = os.getenv("NETBOX_TOKEN") + IGNORE_SSL_ERRORS = (os.getenv("IGNORE_SSL_ERRORS", default="False") == "True") +-REPO_PATH = f"{os.path.dirname(os.path.realpath(__file__))}/repo" ++REPO_PATH = os.getenv("REPO_PATH", default=f"{os.path.dirname(os.path.realpath(__file__))}/repo") + + # optionally load vendors through a comma separated list as env var + VENDORS = list(filter(None, os.getenv("VENDORS", "").split(","))) diff --git a/www-apps/netbox-device-type-library-import/netbox-device-type-library-import-2.0.2.ebuild b/www-apps/netbox-device-type-library-import/netbox-device-type-library-import-2.0.2.ebuild new file mode 100644 index 0000000..149ed90 --- /dev/null +++ b/www-apps/netbox-device-type-library-import/netbox-device-type-library-import-2.0.2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PV="${PV}-2023-08-01" + +PYTHON_COMPAT=( python3_{10,11,12} ) + +inherit python-r1 + +DESCRIPTION="importing device and module types into NetBox" +HOMEPAGE="https://github.com/netbox-community/Device-Type-Library-Import" +SRC_URI="https://github.com/netbox-community/Device-Type-Library-Import/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.tar.gz + https://patch-diff.githubusercontent.com/raw/netbox-community/Device-Type-Library-Import/pull/155.patch -> ${PN}-new-filters.patch + https://patch-diff.githubusercontent.com/raw/netbox-community/Device-Type-Library-Import/pull/130.patch -> ${PN}-fix-import-with-slugs.patch" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-python/gitpython[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/jsondiff[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pynetbox[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/python-dotenv[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-util/yamllint[${PYTHON_USEDEP}] + www-apps/netbox" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/Device-Type-Library-Import-${MY_PV}" + +DOCS=( README.md ) + +PATCHES=( + "${DISTDIR}"/${PN}-new-filters.patch + "${DISTDIR}"/${PN}-fix-import-with-slugs.patch + "${FILESDIR}"/${PN}-env-repo-path.patch +) + +src_install() { + insinto "/usr/lib/netbox-device-type-library-import" + doins *.py + exeinto "/usr/lib/netbox-device-type-library-import" + doexe nb-dt-import.py + + exeinto "/etc/netbox" + doexe "${FILESDIR}"/device-type-library-import.sh + + keepdir "/var/lib/netbox-device-type-library-import" + fowners netbox:netbox "/var/lib/netbox-device-type-library-import" +} diff --git a/www-apps/netbox/Manifest b/www-apps/netbox/Manifest new file mode 100644 index 0000000..47f6570 --- /dev/null +++ b/www-apps/netbox/Manifest @@ -0,0 +1,15 @@ +AUX local_settings_branching.py 420 BLAKE2B fc9707cbd8db495094972dda28e3e3957fd3e00ec60d95579f67b0a3379e1c11904e28db952a81dc048c63731c4344df50712b86b3f2cd5a45c0e13da88cb919 SHA512 2c2f8d195f32dad018cf03c6fac42d1f3702a484813cc0d729af8e4e1c242e1b3fc714e96ccd0b18c69f6677bcc1f194b519c47d29c31a2d82305d83810b8556 +AUX netbox-housekeeping.service 312 BLAKE2B aca6d2d89d010b620636291a7fbe6d75efc9418135c3738e34b2c5d1836edfcfcd7e09cef42f800c9d64e14749feaff56c78dc07576cc925bb0ebdd91621a35c SHA512 835d59263d8bea5c6e1113f085759d626b5d26bd9e754f3f69f53c12c434a4427de23221ccc49661d41391570584d3c4b187aae4a1bc56a825d9591ec38e8640 +AUX netbox-housekeeping.timer 235 BLAKE2B b95cfb8a02d33347cc18d89b2956a5620f68561375d0d6d0c01cab6047c76c01a35b4b1619c1a982f3c585f23d966322da539d617ecbc05af1f60036120d25b0 SHA512 e4bc09fbaa6ac5789cfbf3dc4248f638970f593470c9e8b6e2cffb2ceb6aaea27ff28f78350493e0abc3b8a7517d9e3a4b7474ed54a08eced7540fe42d45716d +AUX netbox-rq.service 375 BLAKE2B 7af4dfadfee3ccf431ecbff1888a502ebb63e9402a26e3fa31ee42cbedc85a936ed4429b6bc1ea8fa8a94514869b4bd94df661a30b1fda2fc999cb7f4602af9c SHA512 76115f844d4101e56ddb6741e8494a72e7ec32b52046b30633d588580470bbb8dfacc7805dbaa331ad823fafb5e34b3b2e30c52adb576425f23d76b9e7a3b384 +AUX netbox-rqworker.confd 167 BLAKE2B 91c92055cd545d10b6b228cc7c8d922e17d2ab9185d22995584e287df2fd4bf319f1ed6cc189ff1f9b68103258f682e920bab5babf984884abf5043536f3e0c4 SHA512 a274ae34d05b2fdc27bc33b00e593f7576a71425746b7f786f7d7de7953084b316f8071dad1032d32715bcbc77a673d9b49f0755eb2b193deff85d5a7ed0537a +AUX netbox-rqworker.initd 446 BLAKE2B 37ee1df88b5d0f8cadf7cd5d3d3cec602c3e277e2cb3ae8b8279779d6d6a5da26aabb3bc29f99acf484978d67c0af6ff9b26118c8fb513def7df3c224481e15f SHA512 2e02528cbac751e295c6cfa492a26db945a2c12a2388493d2205acabe33ff8c3dd3b481d9f37e819c4b735ed5501175ce1478d78646d3bee3a192390dc71b09d +AUX netbox.service 415 BLAKE2B a14532d5154d336e2c9a10ee93356e81fc66583edd9c57d567a7507cbb538bc1dcfe5cb4ba93d9e2739957977c189b961ca479718e6c64859ed51fa2c9240df7 SHA512 12251a04bc49731525b739b21b48513ce759cff2205323fe5e565c6eba22407b46ff98e57f0c0a2418759e41f5eb0e1474e334aad1334e26dca4d3881d83bbee +AUX nginx.conf 761 BLAKE2B ddbf89f842ff185e9b8e100eaeab07bc88294f77481a57c3d19f6bdddbfe137649bbc9a4ab754acf10e57893cdb58de9aa56bc51d33e459f87b860476471085b SHA512 845ed5f80ec5d1e7d51b5758040812cdb5b3c0a8593054fd1c18e99adbb3d160b4667e8a84090173888768334748328ed03adfd5fb9ce96437af838db97cd71c +AUX override-systemd-networkd-wait-online.conf 139 BLAKE2B d39a6361575c0212b5a1e8cd708425f0d66bd8488618ad6eb655a6e684fef6dadaecccfc2c8b0cd0d67c0ddc0e5a13cc34be298fa7d44f88c0fd66f33e603535 SHA512 f624e72a0d117f4b0c098a7b9ca5ebe6a624190f7f915c9548fa3009afabda55faa02efb414d17e5889b0ca205d9bc657d3304a289c79f606f7c861aa1ec68e5 +AUX uwsgi.ini 851 BLAKE2B 639173cf974fd71c8ff72fc0d609d620b890f45b68c9ce116894131ed7566357935b1883b1d492345335662a323a777f94629ee23ccac93f63ece2dc40d1da40 SHA512 24619d85a7bf14d7e15d219f4f18405165f1e2d94716c69d2f06f7acaddd203e7bf40bbf698242c087e34a2b2f59b0395017d90f2bfb75148e4f0146d8b8ffc4 +DIST netbox-4.2.3.tar.gz 18206292 BLAKE2B d0ba7ad0fd10ad038945654a15427a18eae894c05df584f95854820f5b0b84d04fd4f157ecf28cd3d61405baf1f1c41c38fc317e3923389afa4a5b08f27170d5 SHA512 fb18bd14d4e9b6a6195bace84a088cef9fb160b6c3481632e715248738da5d70de67d420879ded013713193e8217af3fab045cb37837c3a36b7970b3fedf060c +DIST netbox-4.2.4.tar.gz 18209409 BLAKE2B f545b2f02e1a67e773842c9ceac6140e330d6773a09b64b89426e3af09a65305a1b89e02abd6590844498b9bd75ec6c36bd985c6e65b509bcd9ed69639e0ee3e SHA512 fda902e8ebcc12b001f4da06653e76ee53b7f659a9efc287bbec12ea99c6b3d7989358394853ee7a32b6ff3a2b05c9a7905c98c86a28a14370bb3420e8d2300b +EBUILD netbox-4.2.3.ebuild 3510 BLAKE2B f4d7e10bf16b55c5cb68d7b44d5a69475875d7267eb949e1411c0ab71f913039d784b72ac2728aaf63d3a23ac501b64aa4c058090a1dbff81904af9733eb130a SHA512 e7b8ea74d2f6a9b4cec953ce1aa1a70eb594ffd1e7f45d14b4a35600fccc6a5221539128c6f747a8fbec5fe5d0a254e2c7230541c8a23ed58c7b1f276b63a979 +EBUILD netbox-4.2.4.ebuild 6698 BLAKE2B a6755f952eaf675aec79a9c6556f2204bb45eccd2fb92c0f2a9c6db4a4eef44cbe8bf755a6f490699e212c6583648303cfb89e3d15e88dc33185ad352dee34d4 SHA512 eb66b95539c8d09b1fe37badab891989f3257e89438a3581ac269b634a15807253c6351402c8c1241dd13005fda7479d52f70fc8be4a99d42736c286f73b57c2 +MISC metadata.xml 775 BLAKE2B 45467fefb0f67a0509944f6dd3e6ec7718f23b11a5bbc63f9ecb34aa1ec812c1c763ffdb6371152517e3ebe6e3ec8b60ebd3b9a06da98d9677b4fb18b2fc2d26 SHA512 c342affa7ba5c115bfe9cc829a898a8b3c71604cd6cb2c7ea98d117d55a727b4c216ce5d7c5a751d676817341eb037764c0b5d1790fe7580d7ce22b24d743473 diff --git a/www-apps/netbox/files/local_settings_branching.py b/www-apps/netbox/files/local_settings_branching.py new file mode 100644 index 0000000..9d4ac1c --- /dev/null +++ b/www-apps/netbox/files/local_settings_branching.py @@ -0,0 +1,18 @@ + +########################### +# netbox_branching settings +########################### +# +from netbox_branching.utilities import DynamicSchemaDict +from .configuration import DATABASE + +# Wrap DATABASES with DynamicSchemaDict for dynamic schema support +DATABASES = DynamicSchemaDict({ + 'default': DATABASE, +}) + +# Employ our custom database router +DATABASE_ROUTERS = [ + 'netbox_branching.database.BranchAwareRouter', +] + diff --git a/www-apps/netbox/files/netbox-housekeeping.service b/www-apps/netbox/files/netbox-housekeeping.service new file mode 100644 index 0000000..b0af2fb --- /dev/null +++ b/www-apps/netbox/files/netbox-housekeeping.service @@ -0,0 +1,17 @@ +[Unit] +Description=NetBox Housekeeping Service +Documentation=https://docs.netbox.dev/ +After=network-online.target +Wants=network-online.target + +[Service] +Type=simple + +User=netbox +Group=netbox +WorkingDirectory=/usr/lib/netbox + +ExecStart=/usr/lib/netbox/manage.py housekeeping + +[Install] +WantedBy=multi-user.target diff --git a/www-apps/netbox/files/netbox-housekeeping.timer b/www-apps/netbox/files/netbox-housekeeping.timer new file mode 100644 index 0000000..16facb0 --- /dev/null +++ b/www-apps/netbox/files/netbox-housekeeping.timer @@ -0,0 +1,13 @@ +[Unit] +Description=NetBox Housekeeping Timer +Documentation=https://docs.netbox.dev/ +After=network-online.target +Wants=network-online.target + +[Timer] +OnCalendar=daily +AccuracySec=1h +Persistent=true + +[Install] +WantedBy=multi-user.target diff --git a/www-apps/netbox/files/netbox-rq.service b/www-apps/netbox/files/netbox-rq.service new file mode 100644 index 0000000..3f11c2e --- /dev/null +++ b/www-apps/netbox/files/netbox-rq.service @@ -0,0 +1,21 @@ +[Unit] +Description=NetBox Request Queue Worker +Documentation=https://docs.netbox.dev/ +After=network-online.target +Wants=network-online.target + +[Service] +Type=simple + +User=netbox +Group=netbox +WorkingDirectory=/usr/lib/netbox + +ExecStart=/usr/lib/netbox/manage.py rqworker high default low + +Restart=on-failure +RestartSec=30 +PrivateTmp=true + +[Install] +WantedBy=multi-user.target diff --git a/www-apps/netbox/files/netbox-rqworker.confd b/www-apps/netbox/files/netbox-rqworker.confd new file mode 100644 index 0000000..242dfef --- /dev/null +++ b/www-apps/netbox/files/netbox-rqworker.confd @@ -0,0 +1,7 @@ +# Config file for /etc/init.d/netbox-rqworker + +# Various options. +NETBOX_USER="netbox" +NETBOX_GROUP="netbox" +NETBOX_DIR="/usr/lib/netbox" +NETBOX_LOG="/var/log/netbox" diff --git a/www-apps/netbox/files/netbox-rqworker.initd b/www-apps/netbox/files/netbox-rqworker.initd new file mode 100644 index 0000000..e7b8f03 --- /dev/null +++ b/www-apps/netbox/files/netbox-rqworker.initd @@ -0,0 +1,13 @@ +#!/sbin/openrc-run +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +name="NetBox RQ worker daemon" +description="NetBox RQ worker daemon" +command=/usr/bin/python +command_args="${NETBOX_DIR} rqworker" +command_user="${NETBOX_USER}:${NETBOX_GROUP}" +directory="${NETBOX_DIR}" +error_log="${NETBOX_LOG}/netbox-rqworker.log" +output_log="${NETBOX_LOG}/${RC_SVCNAME}.log" +supervisor=supervise-daemon diff --git a/www-apps/netbox/files/netbox.service b/www-apps/netbox/files/netbox.service new file mode 100644 index 0000000..6bb7ea2 --- /dev/null +++ b/www-apps/netbox/files/netbox.service @@ -0,0 +1,22 @@ +[Unit] +Description=NetBox WSGI Service +Documentation=https://docs.netbox.dev/ +After=network-online.target +Wants=network-online.target + +[Service] +Type=simple + +User=netbox +Group=netbox +PIDFile=/var/run/netbox.pid +WorkingDirectory=/etc/netbox + +ExecStart=/bin/bash -c '$$(ls -1 /usr/bin/uwsgi_python*) --ini /etc/netbox/uwsgi.ini' + +Restart=on-failure +RestartSec=30 +PrivateTmp=true + +[Install] +WantedBy=multi-user.target diff --git a/www-apps/netbox/files/nginx.conf b/www-apps/netbox/files/nginx.conf new file mode 100644 index 0000000..77d525c --- /dev/null +++ b/www-apps/netbox/files/nginx.conf @@ -0,0 +1,32 @@ +server { + listen [::]:443 ssl ipv6only=off; + + # CHANGE THIS TO YOUR SERVER'S NAME + server_name netbox.example.com; + + ssl_certificate /etc/ssl/nginx/nginx.pem; + ssl_certificate_key /etc/ssl/nginx/nginx.key; + + client_max_body_size 25m; + + location /static/ { + alias /usr/lib/netbox/static/; + } + + location / { + include uwsgi_params; + uwsgi_pass 127.0.0.1:8001; + uwsgi_param Host $host; + uwsgi_param X-Real-IP $remote_addr; + uwsgi_param X-Forwarded-For $proxy_add_x_forwarded_for; + uwsgi_param X-Forwarded-Proto $http_x_forwarded_proto; + + } +} + +server { + # Redirect HTTP traffic to HTTPS + listen [::]:80 ipv6only=off; + server_name _; + return 301 https://$host$request_uri; +} diff --git a/www-apps/netbox/files/override-systemd-networkd-wait-online.conf b/www-apps/netbox/files/override-systemd-networkd-wait-online.conf new file mode 100644 index 0000000..14fee67 --- /dev/null +++ b/www-apps/netbox/files/override-systemd-networkd-wait-online.conf @@ -0,0 +1,4 @@ +systemd-networkd-wait-online.service.d/override.conf +[Service] +ExecStart= +ExecStart=/usr/lib/systemd/systemd-networkd-wait-online -i eth0 diff --git a/www-apps/netbox/files/uwsgi.ini b/www-apps/netbox/files/uwsgi.ini new file mode 100644 index 0000000..34ab1cd --- /dev/null +++ b/www-apps/netbox/files/uwsgi.ini @@ -0,0 +1,34 @@ +[uwsgi] +; bind to the specified UNIX/TCP socket and port (usually localhost) +socket = 127.0.0.1:8001 + +; fail to start if any parameter in the configuration file isn’t explicitly understood by uWSGI. +strict = true + +; re-spawn and pre-fork workers +master = true + +; clear environment on exit +vacuum = true + +; make SIGTERM stop the app (instead of reload) +die-on-term = true + +; exit if no app can be loaded +need-app = true + +; do not use multiple interpreters +single-interpreter = true + +; change to the project directory +chdir = /usr/lib/netbox + +; specify the WSGI module to load +module = netbox.wsgi + +; workaround to make uWSGI reloads work with pyuwsgi (not to be used if using uwsgi package instead) +binary-path = /usr/bin/python + +; only log internal messages and errors (reverse proxy already logs the requests) +disable-logging = true +log-5xx = true diff --git a/www-apps/netbox/metadata.xml b/www-apps/netbox/metadata.xml new file mode 100644 index 0000000..603deed --- /dev/null +++ b/www-apps/netbox/metadata.xml @@ -0,0 +1,21 @@ + + + + + jdeckert@unitas-network.de + Jörg Deckert + + + proxy-maint@gentoo.org + Proxy Maintainers + + + NetBox is an IP address management (IPAM) and data center + infrastructure management (DCIM) tool. Initially conceived by + the network engineering team at DigitalOcean, NetBox was developed + specifically to address the needs of network and infrastructure engineers. + + + netbox-community/netbox + + diff --git a/www-apps/netbox/netbox-4.2.3.ebuild b/www-apps/netbox/netbox-4.2.3.ebuild new file mode 100644 index 0000000..6d3fa1f --- /dev/null +++ b/www-apps/netbox/netbox-4.2.3.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10,11,12} ) + +inherit python-r1 systemd + +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-user/netbox + ${PYTHON_DEPS} + dev-python/django[${PYTHON_USEDEP}] + dev-python/django-cors-headers[${PYTHON_USEDEP}] + dev-python/django-debug-toolbar[${PYTHON_USEDEP}] + dev-python/django-filter[${PYTHON_USEDEP}] + dev-python/django-graphiql-debug-toolbar[${PYTHON_USEDEP}] + dev-python/django-htmx[${PYTHON_USEDEP}] + dev-python/django-mptt[${PYTHON_USEDEP}] + dev-python/django-pglocks[${PYTHON_USEDEP}] + dev-python/django-prometheus[${PYTHON_USEDEP}] + dev-python/django-redis[${PYTHON_USEDEP}] + dev-python/django-rich[${PYTHON_USEDEP}] + dev-python/django-rq[${PYTHON_USEDEP}] + dev-python/django-tables2[${PYTHON_USEDEP}] + dev-python/django-taggit[${PYTHON_USEDEP}] + dev-python/django-timezone-field[${PYTHON_USEDEP}] + dev-python/djangorestframework[${PYTHON_USEDEP}] + dev-python/drf-spectacular[${PYTHON_USEDEP}] + dev-python/drf-spectacular-sidecar[${PYTHON_USEDEP}] + dev-python/feedparser[${PYTHON_USEDEP}] + dev-python/jinja2[${PYTHON_USEDEP}] + dev-python/markdown[${PYTHON_USEDEP}] + dev-python/markdown-include[${PYTHON_USEDEP}] + dev-python/mkdocs-material[${PYTHON_USEDEP}] + dev-python/mkdocstrings[${PYTHON_USEDEP}] + dev-python/mkdocstrings-python[${PYTHON_USEDEP}] + dev-python/netaddr[${PYTHON_USEDEP}] + dev-python/nh3[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + >=dev-python/psycopg-3[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/social-auth-core[${PYTHON_USEDEP}] + dev-python/social-auth-app-django[${PYTHON_USEDEP}] + dev-python/strawberry-graphql[${PYTHON_USEDEP}] + dev-python/strawberry-graphql-django[${PYTHON_USEDEP}] + dev-python/svgwrite[${PYTHON_USEDEP}] + dev-python/tablib[${PYTHON_USEDEP}] + dev-python/tzdata[${PYTHON_USEDEP}] + ldap? ( dev-python/django-auth-ldap[${PYTHON_USEDEP}] )" +DEPEND="${RDEPEND}" + +DOCS=( {CHANGELOG,CONTRIBUTING,README}.md ) + +src_install() { + insinto /etc/netbox + doins "${FILESDIR}/nginx.conf" + doins "${FILESDIR}/uwsgi.ini" + doins netbox/netbox/configuration_example.py + newins netbox/netbox/configuration_example.py configuration.py + + rm -rf netbox/media netbox/reports netbox/scripts + insinto "/usr/lib/netbox" + doins -r netbox/. + dosym /etc/netbox/configuration.py /usr/lib/netbox/netbox/configuration.py + keepdir /var/lib/netbox/media + keepdir /var/lib/netbox/reports + keepdir /var/lib/netbox/scripts + fowners -R netbox:netbox /var/lib/netbox + dosym /var/lib/netbox/media /usr/lib/netbox/media + dosym /var/lib/netbox/reports /usr/lib/netbox/reports + dosym /var/lib/netbox/scripts /usr/lib/netbox/scripts + + exeinto "/usr/lib/netbox" + doexe netbox/generate_secret_key.py + doexe netbox/manage.py + + newinitd "${FILESDIR}"/netbox-rqworker.initd netbox-rqworker + newconfd "${FILESDIR}"/netbox-rqworker.confd netbox-rqworker + systemd_dounit "${FILESDIR}/netbox.service" + systemd_dounit "${FILESDIR}/netbox-rq.service" + systemd_dounit "${FILESDIR}/netbox-housekeeping.service" + systemd_dounit "${FILESDIR}/netbox-housekeeping.timer" + diropts -o netbox -g netbox -m 0700 + keepdir /var/log/netbox +} diff --git a/www-apps/netbox/netbox-4.2.4.ebuild b/www-apps/netbox/netbox-4.2.4.ebuild new file mode 100644 index 0000000..2388ffd --- /dev/null +++ b/www-apps/netbox/netbox-4.2.4.ebuild @@ -0,0 +1,173 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10,11,12} ) + +POSTGRES_COMPAT=( {12..17} ) +POSTGRES_USEDEP="server" +inherit python-r1 systemd + +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="branching ldap" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="acct-user/netbox + ${PYTHON_DEPS} + dev-python/django[${PYTHON_USEDEP}] + dev-python/django-cors-headers[${PYTHON_USEDEP}] + dev-python/django-debug-toolbar[${PYTHON_USEDEP}] + dev-python/django-filter[${PYTHON_USEDEP}] + dev-python/django-graphiql-debug-toolbar[${PYTHON_USEDEP}] + dev-python/django-htmx[${PYTHON_USEDEP}] + dev-python/django-mptt[${PYTHON_USEDEP}] + dev-python/django-pglocks[${PYTHON_USEDEP}] + dev-python/django-prometheus[${PYTHON_USEDEP}] + dev-python/django-redis[${PYTHON_USEDEP}] + dev-python/django-rich[${PYTHON_USEDEP}] + dev-python/django-rq[${PYTHON_USEDEP}] + dev-python/django-tables2[${PYTHON_USEDEP}] + dev-python/django-taggit[${PYTHON_USEDEP}] + dev-python/django-timezone-field[${PYTHON_USEDEP}] + dev-python/djangorestframework[${PYTHON_USEDEP}] + dev-python/drf-spectacular[${PYTHON_USEDEP}] + dev-python/drf-spectacular-sidecar[${PYTHON_USEDEP}] + dev-python/feedparser[${PYTHON_USEDEP}] + dev-python/jinja2[${PYTHON_USEDEP}] + dev-python/markdown[${PYTHON_USEDEP}] + dev-python/markdown-include[${PYTHON_USEDEP}] + dev-python/mkdocs-material[${PYTHON_USEDEP}] + dev-python/mkdocstrings[${PYTHON_USEDEP}] + dev-python/mkdocstrings-python[${PYTHON_USEDEP}] + dev-python/netaddr[${PYTHON_USEDEP}] + dev-python/nh3[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + >=dev-python/psycopg-3[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/social-auth-core[${PYTHON_USEDEP}] + dev-python/social-auth-app-django[${PYTHON_USEDEP}] + dev-python/strawberry-graphql[${PYTHON_USEDEP}] + dev-python/strawberry-graphql-django[${PYTHON_USEDEP}] + dev-python/svgwrite[${PYTHON_USEDEP}] + dev-python/tablib[${PYTHON_USEDEP}] + dev-python/tzdata[${PYTHON_USEDEP}] + branching? ( www-plugins/netboxlabs-netbox-branching[${PYTHON_USEDEP}] ) + ldap? ( dev-python/django-auth-ldap[${PYTHON_USEDEP}] )" +DEPEND="${RDEPEND}" + +DOCS=( {CHANGELOG,CONTRIBUTING,README}.md ) + +src_prepare() { + default + + sed -i -e "s:PLUGINS = \[\]:PLUGINS = \[\n\]:g" \ + netbox/netbox/configuration_example.py || die + + if use branching; then + cat "${FILESDIR}"/local_settings_branching.py >> netbox/netbox/local_settings.py + sed -i -e "s:PLUGINS = \[:PLUGINS = \[\n 'netbox_branching\',:g" \ + netbox/netbox/configuration_example.py || die + fi +} + +src_install() { + insinto /etc/netbox + doins "${FILESDIR}/nginx.conf" + doins "${FILESDIR}/uwsgi.ini" + doins netbox/netbox/configuration_example.py + + rm -rf netbox/media netbox/reports netbox/scripts + insinto "/usr/lib/netbox" + doins -r netbox/. + dosym /etc/netbox/configuration.py /usr/lib/netbox/netbox/configuration.py + keepdir /var/lib/netbox/media + keepdir /var/lib/netbox/reports + keepdir /var/lib/netbox/scripts + fowners -R netbox:netbox /var/lib/netbox + dosym /var/lib/netbox/media /usr/lib/netbox/media + dosym /var/lib/netbox/reports /usr/lib/netbox/reports + dosym /var/lib/netbox/scripts /usr/lib/netbox/scripts + + exeinto "/usr/lib/netbox" + doexe netbox/generate_secret_key.py + doexe netbox/manage.py + + newinitd "${FILESDIR}"/netbox-rqworker.initd netbox-rqworker + newconfd "${FILESDIR}"/netbox-rqworker.confd netbox-rqworker + systemd_dounit "${FILESDIR}/netbox.service" + systemd_dounit "${FILESDIR}/netbox-rq.service" + systemd_dounit "${FILESDIR}/netbox-housekeeping.service" + systemd_dounit "${FILESDIR}/netbox-housekeeping.timer" + diropts -o netbox -g netbox -m 0700 + keepdir /var/log/netbox +} + +pkg_postinst() { + elog "After new installation or update, execute the following command:" + elog " emerge --config =${CATEGORY}/${PF}" +} + +pkg_config() { + if ! "${EROOT}"/usr/bin/psql -U postgres -Aqtc 'SELECT version()' 2> /dev/null; then + eerror "Is the postgresql server running?" + die "Couldn't connect to server." + fi + + if [ -f "${EROOT}/etc/netbox/configuration.py" ]; then + einfo "Netbox configuration exists," + einfo "linking \"${EROOT}/etc/netbox/configuration.py\"" + einfo "to \"${EROOT}/usr/lib/netbox/netbox/configuration.py\"" + DATABASE_PASS=$(grep "# PostgreSQL password" "${EROOT}/etc/netbox/configuration.py" | sed "s/.*'PASSWORD': '\(.*\)',.*/\1/") + else + einfo "No netbox configuration exists," + einfo "create \"${EROOT}/etc/netbox/configuration.py\"" + einfo "from \"${EROOT}/usr/lib/netbox/netbox/configuration_example.py\"" + DATABASE_PASS=$(head -c 300 /dev/urandom | tr -cd 'a-zA-Z0-9' | head -c 16) + SECRET_KEY=$(/usr/lib/netbox/generate_secret_key.py) + cp "${EROOT}/usr/lib/netbox/netbox/configuration_example.py" "${EROOT}/etc/netbox/configuration.py" + sed -i -e "s/^ALLOWED_HOSTS.*/ALLOWED_HOSTS = ['*']/g" \ + -e "s/'USER'.*,/'USER': 'netbox',/g" \ + -e "s/.*# PostgreSQL password/ 'PASSWORD': '${DATABASE_PASS}', # PostgreSQL password/g" \ + -e "s/^SECRET_KEY.*/SECRET_KEY = '${SECRET_KEY}'/g" \ + -e "s/'SERVER'.*,/'SERVER': '$(hostname -f)',/g" \ + -e "s/'USE_TLS'.*,/'USE_TLS': True,/g" \ + -e "s/'FROM_EMAIL'.*,/'FROM_EMAIL': 'netbox@example.com',/g" \ + "${EROOT}/etc/netbox/configuration.py" + fi + ln -sf "${EROOT}/etc/netbox/configuration.py" "${EROOT}/usr/lib/netbox/netbox/configuration.py" + + einfo "Initializing the database \"netbox\" for user \"netbox\"..." + if "${EROOT}"/usr/bin/psql -lqt -U postgres | cut -d \| -f 1 | grep -qw "netbox"; then + einfo " Database \"netbox found, skipping\"" + else + "${EROOT}"/usr/bin/psql -U postgres -d postgres -c "CREATE USER netbox WITH PASSWORD '$DATABASE_PASS';" + "${EROOT}"/usr/bin/psql -U postgres -d postgres -c "CREATE DATABASE netbox WITH OWNER netbox;" + "${EROOT}"/usr/bin/psql -U postgres -d postgres -c "GRANT CREATE ON SCHEMA public TO netbox;" + fi + + einfo "Netbox database migration..." + "${EROOT}"/usr/lib/netbox/manage.py migrate + + einfo "Netbox trace paths..." + "${EROOT}"/usr/lib/netbox/manage.py trace_paths --no-input + + einfo "Netbox collect static web content..." + "${EROOT}"/usr/lib/netbox/manage.py collectstatic --no-input + + einfo "Netbox remove stale contenttypes..." + "${EROOT}"/usr/lib/netbox/manage.py remove_stale_contenttypes --no-input + + einfo "Netbox reindex database..." + "${EROOT}"/usr/lib/netbox/manage.py reindex --lazy + + einfo "Netbox clear sessions..." + "${EROOT}"/usr/lib/netbox/manage.py clearsessions +} diff --git a/www-plugins/netboxlabs-netbox-branching/Manifest b/www-plugins/netboxlabs-netbox-branching/Manifest new file mode 100644 index 0000000..c6adcd8 --- /dev/null +++ b/www-plugins/netboxlabs-netbox-branching/Manifest @@ -0,0 +1,2 @@ +DIST netboxlabs-netbox-branching-0.5.3.tar.gz 33629 BLAKE2B 8ce381fa19c240c476d077c32f140bcf7c0e16445d141d936f5045ff08a85e8e00b56ad2c67bba9be344133b89fa85a0debb17f6b81ed53f0f830057e8e5f030 SHA512 5bac241e6aedf1e439d41614c96b63deeaa6c8a6ea9e93416f9c9f6c5602c996bc98a6ab5a2c60a0ba115461cabf6979d265e407c60839ce32ec4ecd350281f8 +EBUILD netboxlabs-netbox-branching-0.5.3.ebuild 507 BLAKE2B 0b0a13ec8d85aeaaeb500db4e9a8507830a69eea3f1663c05f0f4852b88ce1bb503d3ba2d053fb68d824db029a9ceb83993d6caa1c3ac7f867bd165d8bd15992 SHA512 83bf80089f67b0446d15c66054776f108b74d17a7d2017ddaff5454fc7e5550eb9ec8c42d0731dcbc27daa30950287a544d3266b1e3da4c7357b07f673f74636 diff --git a/www-plugins/netboxlabs-netbox-branching/netboxlabs-netbox-branching-0.5.3.ebuild b/www-plugins/netboxlabs-netbox-branching/netboxlabs-netbox-branching-0.5.3.ebuild new file mode 100644 index 0000000..28b22ee --- /dev/null +++ b/www-plugins/netboxlabs-netbox-branching/netboxlabs-netbox-branching-0.5.3.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2025 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_{9..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Git-like branching functionality for NetBox." +HOMEPAGE="https://github.com/netboxlabs/netbox-branching" + +LICENSE="PolyForm-Shield-License-1.0.0" +SLOT="0" +KEYWORDS="amd64" + +RDEPEND=" + www-apps/netbox[${PYTHON_USEDEP}] +" + +S=${WORKDIR}/netboxlabs_netbox_branching-${PV}