diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-16 12:04:26 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-16 12:04:26 +0100 |
commit | b92911550490e2da121ec4b02d3cf60a2d31a17d (patch) | |
tree | dc29e698da3b00d42ead3796b35416159e83d57a /net-analyzer/greenbone-feed-sync | |
parent | 7fa8a1e3f149eea4c844c47cfe26136ed7614c58 (diff) |
gentoo auto-resync : 16:04:2024 - 12:04:26
Diffstat (limited to 'net-analyzer/greenbone-feed-sync')
-rw-r--r-- | net-analyzer/greenbone-feed-sync/Manifest | 4 | ||||
-rw-r--r-- | net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0.ebuild (renamed from net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.1.1.ebuild) | 25 |
2 files changed, 22 insertions, 7 deletions
diff --git a/net-analyzer/greenbone-feed-sync/Manifest b/net-analyzer/greenbone-feed-sync/Manifest index 2713ae84b47c..6c5f9f4b6fef 100644 --- a/net-analyzer/greenbone-feed-sync/Manifest +++ b/net-analyzer/greenbone-feed-sync/Manifest @@ -2,7 +2,7 @@ AUX greenbone-feed-sync.cron 222 BLAKE2B b4ebc765c293fbc8445c7506c882f67879cc64a AUX greenbone-feed-sync.service 219 BLAKE2B 7f5d17b23b56a175115a4147e16d1e8636c961aaf40b24671d3a2e55701eb8bfd493dbda686fb9e56675fc6ac5c731721d53da2446cbcb1dbc6bf9ef279f44fe SHA512 0c2dce6ff3fd1837c69ee0899c2b1da98f8c7877fb140677ce4ff8c10cd140e7f3581008f26bdb119a3bf41f7f2a40fb2082d84060c830417faf4e4ed72dbb98 AUX greenbone-feed-sync.timer 183 BLAKE2B f91b69c6b2a5024c6cd9d678676071f7d5e175a3b35e0e34ffc03be7630df7519948c6c3285c7b265c73c0b7b4485706bba5673f89234c478ad6cd43d7305ddc SHA512 3716c8057bab3926b57e5e9868f4e00ec95940e5a9ea0506e16a152a76cb9b388ba5f0c8404245dcba5ba26bc789f0670781c41568d53a82412cd19689aca2c6 DIST greenbone-feed-sync-23.10.0.tar.gz 63001 BLAKE2B 5566cef8649e578cb498f0a5bc1e41f237a3702698b2012f3a62d8f5f647e6b1e3253c7d92e4a9fc82ad7991de8010b94ba8c1194a820511c49e5f5262e471ff SHA512 fe5864c4e650f17a072cd6e4153779ea33ad8f0ac28e92114b40c465a04b70791b603ccbe82934dcdad13fce2003e2d9786cec75854efecf8aefa74c7ce178f4 -DIST greenbone-feed-sync-24.1.1.tar.gz 58806 BLAKE2B 01229e630584fc04a6c1806f06d6769cdf76adfdff7b8b97032dff908c7de41cb928a902a43da2407e03643e0f7a868cbad148e6fd1680b4c91eb7b953c6cf20 SHA512 bb8d7c2917fe5096dc1041df832a7880a2760dff049e139e6a9d453c4e24ff04557be3c4f52a785496f67820d0c7bc256f7bfd23617a4734e263b0bc725ae039 +DIST greenbone-feed-sync-24.3.0.tar.gz 58949 BLAKE2B 10260850dad8781682e9f3e3eb31faa4139080b3c5661261770fe28053df472b21b4e2ef98f258b5c634c26d543313da30bb01d9eadfdb8ea8e7b7b57205b7f5 SHA512 ac1ce1f0a2898997e5a330e9a186b6203b7593e5b847d23202c28e7b3b7be1556001cc6d8ba5abd7077d1b51e0f21640728f78659ecf9a60eede28ea483344b4 EBUILD greenbone-feed-sync-23.10.0.ebuild 1575 BLAKE2B abe5101d16ca2c904b36d622c49f3d3a4e43ae60d0ce36d76ae50522b39b694604c65d1a81fd6ee74813f697b3d21c130d4acf3f7fe98955537e4bf1a23b24e6 SHA512 fc7ffb5e2c7a155ba33952cd77fddaf7690001e25c1ba1ad4f5c6f640b1b12874c5bedaf61400155a6947d3ed8849a3d8b38f048c16ee9e8bf4c028c243b997a -EBUILD greenbone-feed-sync-24.1.1.ebuild 1727 BLAKE2B cc133c403248dd1ee202b9cfd3288dd8d1a0f890b3cd7dab4fe1e8c814312a24440d924da9740c0bf020718e6aa3c762ba9678b9eb931b3b824d5883190efc84 SHA512 91eab8ba75b56c1a6e4f9a11a25261c834f7dfa7df9b849851caddb62c79fd26759d0fc7729813ddb8ed6166c690df789070cbef9e9214a59ba13bbef0a31332 +EBUILD greenbone-feed-sync-24.3.0.ebuild 2127 BLAKE2B 60467634c1f22f9548fa2e46dab8910c4e978f35af9ea3e7fcb49faf265ef53bd61c0b9be08c147f382eb82fafe63eb67033df234f6d69fae5a8346782198121 SHA512 29757eede67f311828124b32dc2f5c4ba4de1390b3a40aa9c3c3536df5be8e50087881b5a1ffbe8a99b085691619fcba367b81d4be3605676d3e5b64fc67b08a MISC metadata.xml 822 BLAKE2B 6e48caf48d652d7892292654b2b55a1b200fedae3b34d03ed237259fda8a8c8013cda2c3ac93b080658424a21a13e9a3d4eb92c677621c17c2309cf7f7467c32 SHA512 9457919c66737a70c7cc58aa576102c46c1d296a616baf53559eb04bd89a7cc315d59980e7150afea1f9010344952e73deeb215ec5f776075b638072badf5983 diff --git a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.1.1.ebuild b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0.ebuild index 7ae049456675..a29bec692a29 100644 --- a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.1.1.ebuild +++ b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..12} pypy3 ) DISTUTILS_USE_PEP517=poetry inherit distutils-r1 systemd @@ -11,8 +11,8 @@ DESCRIPTION="New script for syncing the Greenbone Community Feed" HOMEPAGE="https://github.com/greenbone/greenbone-feed-sync" SRC_URI="https://github.com/greenbone/greenbone-feed-sync/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -SLOT="0" LICENSE="GPL-3+" +SLOT="0" KEYWORDS="~amd64" IUSE="cron" @@ -20,13 +20,13 @@ COMMON_DEPEND=" acct-user/gvm net-misc/rsync >=net-analyzer/gvmd-22.5.0 - dev-python/tomli[${PYTHON_USEDEP}] + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] >=dev-python/rich-13.2.0[${PYTHON_USEDEP}] - >=dev-python/shtab-1.6.5[${PYTHON_USEDEP}] + >=dev-python/shtab-1.7.0[${PYTHON_USEDEP}] " DEPEND=" ${COMMON_DEPEND} - test? ( net-analyzer/pontos[${PYTHON_USEDEP}] ) + test? ( >=net-analyzer/pontos-22.12.2[${PYTHON_USEDEP}] ) " RDEPEND=" ${COMMON_DEPEND} @@ -35,6 +35,21 @@ RDEPEND=" distutils_enable_tests unittest +src_test() { + # Disable tests that require network access. + sed -i \ + -e 's:test_do_not_run_as_root:_&:' \ + -e 's:test_sync_nvts:_&:' \ + -e 's:test_sync_nvts_quiet:_&:' \ + -e 's:test_sync_nvts_rsync_error:_&:' \ + -e 's:test_sync_nvts_verbose:_&:' \ + -e 's:test_sync_nvts:_&:' \ + -e 's:test_sync_nvts_error:_&:' \ + tests/test_main.py || die + + distutils-r1_src_test +} + python_install() { distutils-r1_python_install |