diff --git a/dev-python/IP2Location/IP2Location-8.10.0.ebuild b/dev-python/IP2Location/IP2Location-8.10.0.ebuild index 8fcb62d8e..b444d1d6f 100644 --- a/dev-python/IP2Location/IP2Location-8.10.0.ebuild +++ b/dev-python/IP2Location/IP2Location-8.10.0.ebuild @@ -17,10 +17,6 @@ SRC_URI="https://github.com/chrislim2888/IP2Location-Python/archive/refs/tags/${ LICENSE="MIT" SLOT="0" KEYWORDS="amd64 arm64 x86" -IUSE="" RESTRICT="test" -RDEPEND="" -DEPEND="${RDEPEND}" - S="${WORKDIR}/IP2Location-Python-${PV}" diff --git a/dev-python/IP2Location/IP2Location-8.10.2.ebuild b/dev-python/IP2Location/IP2Location-8.10.2.ebuild new file mode 100644 index 000000000..7f5624865 --- /dev/null +++ b/dev-python/IP2Location/IP2Location-8.10.2.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYPI_NO_NORMALIZE=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python API for IP2Location database" +HOMEPAGE="https://pypi.org/project/IP2Location/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm64 x86" +RESTRICT="test" diff --git a/dev-python/IP2Location/IP2Location-8.8.1.ebuild b/dev-python/IP2Location/IP2Location-8.8.1.ebuild deleted file mode 100644 index 85e6813b5..000000000 --- a/dev-python/IP2Location/IP2Location-8.8.1.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="Python API for IP2Location database" -HOMEPAGE="https://pypi.org/project/IP2Location/" -#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" -HASH_COMMIT="71828f8506cab07f8379faa815fc257ad9d8ca7a" -SRC_URI="https://github.com/chrislim2888/IP2Location-Python/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 x86" -IUSE="" -RESTRICT="test" - -RDEPEND="" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/IP2Location-Python-${PV}" diff --git a/dev-python/IP2Location/Manifest b/dev-python/IP2Location/Manifest index ba7f7b04a..367956404 100644 --- a/dev-python/IP2Location/Manifest +++ b/dev-python/IP2Location/Manifest @@ -1,2 +1,2 @@ DIST IP2Location-8.10.0.gh.tar.gz 2504708 BLAKE2B 519def2250be7c2bfc653a377923ee16e7560d47695b280a3af4460536cb548499bc5f2d3f1854b7e3bd354e3d522e86a3bfa0dc1e8bdee48784cb39cae8274d SHA512 1313adf7ab5150a5af835a33f476bec90f8d0c8373694ef04fba90d12d00948d567acb922869ce80bb98af6ece15eb30ac6f375757f556cb02bc1c1b4d517293 -DIST IP2Location-8.8.1.gh.tar.gz 2503682 BLAKE2B f33ae2133897fcc314afb1ca659797d6ad06334488e9cc5e278c1db90caa99a533588ce2652fe1a7ace4b08dab8db75d87ffdfd710c56e5fefa72bf68f54285e SHA512 25df175ae66bca4d3875f42c5c88fff59f9cc782fe3381876f343219e02a0a3f6931ef1af0f6837ef065827fd7d6a711d7865438ef8d8d43dddb325c12778741 +DIST IP2Location-8.10.2.tar.gz 13841 BLAKE2B dd81f8ebf55191df4bf833d326eed44f4455a8a478e64b729b50d8a0917831974f7e7b61e59c91e9967859531a66cd606caf4d29ae5c21d66fc3c56c0cfa21f4 SHA512 2da677097d191ae11a1d3f3a9044e1f5a0a28fdc5143f3d62f7ec393e0d171895acc7a48a8c96b34ad74656b15d6da42125673e97e5d07e67754153a3373a3e9 diff --git a/dev-python/libsast/Manifest b/dev-python/libsast/Manifest index 2fa674c34..e3d37b3e3 100644 --- a/dev-python/libsast/Manifest +++ b/dev-python/libsast/Manifest @@ -1 +1,2 @@ DIST libsast-1.5.2.tar.gz 36744 BLAKE2B c2591cb40a76cbe0982b53ce85dd8356f5e67b61db46e12b8efb637c7ea1e090c131c841f9b13e3c4442de72ff630ac7042991d782f76396ee5c05cb8c0d777a SHA512 86643d89aefca2a0e80f7516e3270c05e32ddba10a649746cb0fb868a3a3f444e3359097061648b8efc99800a7f48ead9954a8effbaa0258624b3e3d8c7fa809 +DIST libsast-2.0.3.tar.gz 35349 BLAKE2B 610d9e32618dbfe2f24d9c7d24336c4f56b262a79ab533a281b2e4fd2102858a68a2871505b16c922d55c199fb1d7997f9eb76024c7e95b34bae41f134d79975 SHA512 66c7580b413c92120e27f0c96c9483008ae18fafe16b733ad3c44adfa89e91264f10c3595425bc70339b399aa5ab847b3dd924ffae8e1323b2e62e8c47d564b2 diff --git a/dev-python/libsast/libsast-2.0.3.ebuild b/dev-python/libsast/libsast-2.0.3.ebuild new file mode 100644 index 000000000..ebe3118ad --- /dev/null +++ b/dev-python/libsast/libsast-2.0.3.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A generic SAST core built on top of semgrep and regex" +HOMEPAGE="https://github.com/ajinabraham/libsast/" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=">=dev-python/requests-2.27.1[${PYTHON_USEDEP}] + >=dev-python/pyyaml-6.0[${PYTHON_USEDEP}] + >=dev-python/semgrep-0.104.0[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_prepare(){ + # https://python-poetry.org/docs/dependency-specification/#using-environment-markers + # Invalid PEP 440 version: '>=2.0.3' + # sed -i "s|version = \"|version = \">=|g" pyproject.toml + sed -i '/^semgrep = {version/d' pyproject.toml + eapply_user +} diff --git a/dev-util/mobsf/Manifest b/dev-util/mobsf/Manifest index 0973bec52..91d0d7063 100644 --- a/dev-util/mobsf/Manifest +++ b/dev-util/mobsf/Manifest @@ -1,2 +1,2 @@ -DIST mobsf-3.6.9.tar.gz 102714011 BLAKE2B 404fa017e13c0c204042e7f759fda5418e43a42c8a261f312dd658baa3bbfd704f628cf0ae22b3616028ae67ea11de0063d79f1f7ef87adc1678bc831e2e70f5 SHA512 cddb8bd8c09e21b52dac6abe027f4a72379b6eda9ac1c6428775e33c5d8a7c5214791891ac09d316934e569a066f3f665f40bd19b2fb81e77740988d0ee36dac DIST mobsf-3.7.6.tar.gz 103883013 BLAKE2B 7bb6bf9e6d8f73765ef65082e194da4d87aa144710fe1466009b3e4698f2bdff98d2e42fb13ad6fbed800b807f0821af92e35a62774eafda786ddec48f1397ac SHA512 d17c8302177fbf3552ee007d456b7fb7aacd34e39f352ecf5b0833e126e7d555e85a5945deb613ee861b669f2e4e0e2b72cf0d0bace755d92932b9ac269dac93 +DIST mobsf-3.9.7.tar.gz 95335051 BLAKE2B eaf77e4843662992c1074adb486e6f338b2549a66e483dd16bfe42a8658ec6e08812d477ee74021c4b0f05d8160b31d4bcb0ec1b12569668fdf914382706ffa9 SHA512 f6aba220da9411ae00afe3d6e87bbb9023625923240c1f5e22b34cb38ea59e329c02b19ca5cce894458c72a72c07ef5a875f1563450a5284e02122a5e4922893 diff --git a/dev-util/mobsf/mobsf-3.6.9.ebuild b/dev-util/mobsf/mobsf-3.9.7.ebuild similarity index 65% rename from dev-util/mobsf/mobsf-3.6.9.ebuild rename to dev-util/mobsf/mobsf-3.9.7.ebuild index 3b47da261..4603d5490 100644 --- a/dev-util/mobsf/mobsf-3.6.9.ebuild +++ b/dev-util/mobsf/mobsf-3.9.7.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -DISTUTILS_USE_PEP517=setuptools +DISTUTILS_USE_PEP517=poetry PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 @@ -31,28 +31,34 @@ RDEPEND=" >=dev-python/rsa-4.7[${PYTHON_USEDEP}] >=dev-python/biplist-1.0.3[${PYTHON_USEDEP}] >=dev-python/requests-2.25.1[${PYTHON_USEDEP}] + >=dev-python/beautifulsoup4-0.0.1[${PYTHON_USEDEP}] >=dev-python/colorlog-4.7.2[${PYTHON_USEDEP}] >=dev-python/macholib-1.14[${PYTHON_USEDEP}] >=dev-python/whitenoise-5.2.0[${PYTHON_USEDEP}] >=dev-python/psutil-5.8.0[${PYTHON_USEDEP}] >=dev-python/shelljob-0.6.2[${PYTHON_USEDEP}] >=dev-python/asn1crypto-1.4.0[${PYTHON_USEDEP}] - >=dev-python/oscrypto-1.2.1[${PYTHON_USEDEP}] >=dev-python/distro-1.5.0[${PYTHON_USEDEP}] - >=dev-python/IP2Location-8.8.1[${PYTHON_USEDEP}] - >=dev-util/lief-0.12.1[${PYTHON_USEDEP}] - >=dev-python/http-tools-2.1.0[${PYTHON_USEDEP}] - >=dev-python/libsast-1.5.1[${PYTHON_USEDEP}] + >=dev-python/IP2Location-8.10.0[${PYTHON_USEDEP}] + >=dev-util/lief-0.12.3[${PYTHON_USEDEP}] + >=dev-python/http-tools-4.0.0[${PYTHON_USEDEP}] >=dev-python/google-play-scraper-0.1.2[${PYTHON_USEDEP}] - >=dev-util/androguard-3.4.0_alpha1[${PYTHON_USEDEP}] - >=dev-python/apkid-2.1.4[${PYTHON_USEDEP}] - >=dev-python/quark-engine-22.6.1[${PYTHON_USEDEP}] - >=dev-python/frida-python-15.2.2[${PYTHON_USEDEP}] - >=dev-python/tldextract-3.3.1[${PYTHON_USEDEP}] - >=dev-python/openstep_parser-1.5.3[${PYTHON_USEDEP}] + >=dev-python/apkid-2.1.5[${PYTHON_USEDEP}] + >=dev-python/frida-python-16.1.4[${PYTHON_USEDEP}] + >=dev-python/tldextract-3.4.4[${PYTHON_USEDEP}] + >=dev-python/openstep_parser-1.5.4[${PYTHON_USEDEP}] + >=dev-python/svgutils-0.3.4[${PYTHON_USEDEP}] + >=dev-python/arpy-2.3.0[${PYTHON_USEDEP}] + >=dev-python/apksigtool-0.1.0[${PYTHON_USEDEP}] + >=dev-python/tzdata-2023.3[${PYTHON_USEDEP}] + >=dev-python/libsast-2.0.0[${PYTHON_USEDEP}] + >=dev-python/paramiko-3.3.1[${PYTHON_USEDEP}] + >=dev-python/six-1.16.0[${PYTHON_USEDEP}] + >=dev-python/ruamel-yaml-0.16.13[${PYTHON_USEDEP}] >=dev-python/click-8.0.1[${PYTHON_USEDEP}] >=dev-python/decorator-4.4.2[${PYTHON_USEDEP}] + www-servers/gunicorn dev-python/yara-python[${PYTHON_USEDEP}] @@ -67,12 +73,12 @@ src_prepare() { #regular user support sed -e 's|USE_HOME = False|USE_HOME = True|' -i ./mobsf/MobSF/settings.py || die "sed settings failed" - sed -e '/waitress/d' \ - -e '/pyOpenSSL/d' -e '/cryptography/d' \ - -e '/bs4/d' -i requirements.txt || die "sed failed" - sed -e 's|==|>=|' -i requirements.txt || die "sed failed" +# sed -e '/waitress/d' \ +# -e '/pyOpenSSL/d' -e '/cryptography/d' \ +# -e '/bs4/d' -i requirements.txt || die "sed failed" +# sed -e 's|==|>=|' -i requirements.txt || die "sed failed" - use pdf || sed -e '/pdfkit/d' -i requirements.txt || die "sed failed" +# use pdf || sed -e '/pdfkit/d' -i requirements.txt || die "sed failed" ./manage.py makemigrations ./manage.py makemigrations StaticAnalyzer