mobsf-3.6.0.ebuild

This commit is contained in:
Anton Bolshakov 2022-10-04 13:37:23 +08:00
parent 415b2a0b2e
commit 46c30ce693
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
20 changed files with 243 additions and 103 deletions

View file

@ -1,20 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{9..10} )
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"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm64 x86"
IUSE="test"
RDEPEND=""
DEPEND="${RDEPEND}"

View file

@ -0,0 +1,25 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{9..10} )
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}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm64 x86"
IUSE=""
RESTRICT="test"
RDEPEND=""
DEPEND="${RDEPEND}"
S="${WORKDIR}/IP2Location-Python-${PV}"

View file

@ -1,2 +1,2 @@
DIST IP2Location-8.5.1.tar.gz 10267 BLAKE2B 0ba3ddd16d26d7ef1591959e75a61063a6ba76db090329e4a4f191fe16565f11a2bcd14def24bd9b0a041859e4a249ef4ca8bcbe80974ce21d5cfd1b0cf23ce0 SHA512 36b47f283f9cbb75d3cde986e8ad66a1e5426ac1db7e01a6db6ca6020e69d0a1d93cdcc1f0ed0f43d4967aaae78c6cd26afb5f11a951e76e2856c6a00a457d07
DIST IP2Location-8.6.4.tar.gz 2501645 BLAKE2B 03728070f9772440153083f4bc264e707d373215146af8e98499b515554e77a57f460c7b4f675c9b7976393272af1bb267ad717b9c8f54a3c90266442c7debea SHA512 c423a3eeae2211c7175fa27411e3a0df543e6cd4c1b2a666e4e73173654a84fc9d6e73649e0b7af3f377af017df1ee697cee5a67b99a1e16eb381e34feb99580
DIST IP2Location-8.8.1.tar.gz 2503682 BLAKE2B f33ae2133897fcc314afb1ca659797d6ad06334488e9cc5e278c1db90caa99a533588ce2652fe1a7ace4b08dab8db75d87ffdfd710c56e5fefa72bf68f54285e SHA512 25df175ae66bca4d3875f42c5c88fff59f9cc782fe3381876f343219e02a0a3f6931ef1af0f6837ef065827fd7d6a711d7865438ef8d8d43dddb325c12778741

View file

@ -1,2 +1,3 @@
DIST apkid-2.1.2.tar.gz 55588 BLAKE2B 5db03e23d24ffba141609ec2ef2f9215784b7446606addb819829625afbe91e338aadf23d1977e13d891d8d20111bb827d8909074d912b737f91a94261cfe1fa SHA512 384fc1b4ccb4563106479774afc31ad45565bb3d78572c427e3190593dbc9c136cd4c2efe221a8a381560d0703f35a647b54176a6ea4bcd56c14ccf2ed14dbcb
DIST apkid-2.1.3.tar.gz 55588 BLAKE2B 5db03e23d24ffba141609ec2ef2f9215784b7446606addb819829625afbe91e338aadf23d1977e13d891d8d20111bb827d8909074d912b737f91a94261cfe1fa SHA512 384fc1b4ccb4563106479774afc31ad45565bb3d78572c427e3190593dbc9c136cd4c2efe221a8a381560d0703f35a647b54176a6ea4bcd56c14ccf2ed14dbcb
DIST apkid-2.1.4.tar.gz 63232 BLAKE2B 834174af6da2b6e60e0eb0a08ac0bb3615313ec0d146768cc77325709d1e9117e3f330f9e6708cef7469f95656f251c4a7a3a64f6f5e821b9711901c3ab49a4b SHA512 21a2cbde26c178207d946f60934362049692665de46686a576bec487c1597bdd23fa9760fe163620679f32886324234e8ed0fad90e320c119e33a49fe949fe08

View file

@ -0,0 +1,35 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{9..10} )
inherit distutils-r1
DESCRIPTION="Android Package Protector Identifier"
HOMEPAGE="https://github.com/rednaga/APKiD/"
#Use github to download a version with ./prep-release.py script which compiles yara rules
HASH_COMMIT="a50ee3b4a42a3e1a284af9eafa79e41ee80bc59f"
SRC_URI="https://github.com/rednaga/APKiD/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE=""
RESTRICT="test"
RDEPEND="${PYTHON_DEPS}
dev-python/yara-python[${PYTHON_USEDEP}]
app-forensics/yara:=[dex]"
DEPEND="${RDEPEND}"
S="${WORKDIR}/APKiD-${HASH_COMMIT}"
src_prepare(){
#we compile dex
sed "s|yara-python-dex.*|yara-python',|g" -i setup.py || die
./prep-release.py
default
}

View file

@ -1,3 +1,4 @@
DIST libsast-1.4.1.tar.gz 35241 BLAKE2B 61f5c9cae01bb10b406f192e4540bdafb4360beee234ae487837386c8a7034872d5149da500aa31637d065115725263cb1c0dc2abad6ccaf116ff9ed238c24af SHA512 e8353a364007a9ed7ba3c15cdf8f55b2029f3e819170f1db81001ab21da77858a1a75da250984f18c6ffe7cfda4a4d7e749ac76f5f47c9261f6a51f4fd9ae918
DIST libsast-1.4.4.tar.gz 37810 BLAKE2B d677ed01cdd5fce4c98108e46ab8e69326ba591e2c60df07d341d0c80b85d81286d62d4f47da558d6882bb02c5f4b7f0743ee0e39998610bec56843cd3e4de06 SHA512 594e3c097960eb545a17664c8e85ee10f47bb0f54ad76762c6c1b232f7a479ade2124c0a9911a9ad8151dcb5ac59b60cca41b38711986f82b0b9265a090d7089
DIST libsast-1.4.5.tar.gz 37825 BLAKE2B b1e402963e7f69bcc7ee21581ecb9a0d6cc7be01ebf83c24bbcb18955761d489b6f99ada2bc1a3a8a0eaef7587782cba18d5a2345b9f9c33ea3b9487378d8d72 SHA512 23d4b60883ead1002d54dba22fb50d4fc483d811abf81472f10d5eda7948ec583b3deff224d64f3c6db2e12a0e5fa0b836c8726857600a93b06bd5d05a112385
DIST libsast-1.5.2.tar.gz 36744 BLAKE2B c2591cb40a76cbe0982b53ce85dd8356f5e67b61db46e12b8efb637c7ea1e090c131c841f9b13e3c4442de72ff630ac7042991d782f76396ee5c05cb8c0d777a SHA512 86643d89aefca2a0e80f7516e3270c05e32ddba10a649746cb0fb868a3a3f444e3359097061648b8efc99800a7f48ead9954a8effbaa0258624b3e3d8c7fa809

View file

@ -0,0 +1,29 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{9..10} )
inherit distutils-r1
DESCRIPTION="A generic SAST core built on top of semgrep and regex"
HOMEPAGE="https://github.com/ajinabraham/libsast/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE=""
SLOT="0"
KEYWORDS="amd64"
IUSE="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(){
sed -i "s|semgrep==|semgrep>=|g" setup.py
eapply_user
}

View file

@ -0,0 +1 @@
DIST openstep_parser-1.5.3.tar.gz 3343 BLAKE2B 6ab9d13d95b9ce791748d55d94149f76d92f7b99379ef3a6da281a191071c32bbbbe222299b024f84808896d8ed3e9740df07a0f305dded82a5f430565a10ddc SHA512 739d7790ef6e9132da33fce8310b72cb022dcdb766598f88d8bd559f9bdca0d2de1ec81aa78fc6eff352241a2751a3dfeb5a1905cae1e49c42e402a592beff30

View file

@ -0,0 +1,26 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
#https://projects.gentoo.org/python/guide/distutils.html#pep-517-build-systems
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..10} )
inherit distutils-r1
DESCRIPTION="OpenStep plist reader into python objects"
HOMEPAGE="https://github.com/kronenthaler/openstep-parser"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
RDEPEND="dev-python/nose[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
#distutils_enable_tests pytest

View file

@ -1 +1,2 @@
DIST quark-engine-22.1.1.tar.gz 57603 BLAKE2B ec1f5c64a47e41190e0a5a05b0466d4a595eee4df45351a75e5c89009cef693dedde5ccb2fc78dbed44fd99280a7a3fa3b8cb9fae1dd9eaab2f227c257eb0d46 SHA512 2e58ea41899e97f5531afc19415150093edb8e5dc16d1bc7a591409087ff0d44d64bfc8540805287326f8d5c2615dafe96f7ab78c9c04cbdeeb902d98b361889
DIST quark-engine-22.9.1.tar.gz 84385 BLAKE2B bcefbee834521af73e21c39dd9f7dbb19aae99214983ce60d6e078509d75066776f663fc30dd84c1da89970a6c587c870a535124e26121b50b84b19a97a4234e SHA512 69abe4e8a01f3a13061100fe34b87e88c2cd5a9f48367448f9c733b0760533fc7bdd06672d65f2367a2f5ef887bf68c4c3ed56a64dbc9000f8e4d1110b80956b

View file

@ -0,0 +1,39 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{9..10} )
inherit distutils-r1
DESCRIPTION="An Obfuscation-Neglect Android Malware Scoring System"
HOMEPAGE="https://github.com/quark-engine/quark-engine"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE=""
RDEPEND="dev-python/prettytable[${PYTHON_USEDEP}]
dev-util/androguard[${PYTHON_USEDEP}]
dev-python/tqdm[${PYTHON_USEDEP}]
dev-python/colorama[${PYTHON_USEDEP}]
dev-python/graphviz[${PYTHON_USEDEP}]
dev-python/pandas[${PYTHON_USEDEP}]
dev-python/prompt_toolkit[${PYTHON_USEDEP}]
dev-python/plotly[${PYTHON_USEDEP}]
dev-python/rzpipe[${PYTHON_USEDEP}]
dev-python/click[${PYTHON_USEDEP}]
dev-python/kaleido[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
src_prepare(){
#relax deps
sed "s|==|>=|g" -i setup.py || die
rm -r tests
default
}

View file

@ -1,3 +1,4 @@
DIST semgrep-0.103.0.tar.gz 170887 BLAKE2B 1f08511092360f79ff7b63f26c6902514d5491a5faa78b3be9a203cc0c3be5a4b439fd1f8afed6afd1c321f7bb2682d4f27cc13d9754e4a1289bcfdb65d161d3 SHA512 fff8aefc1075171a3453c88c952aa597af27ef17c635a73daf065cf276d4491026b662e4a86237a7e76eced5c2405808b46dd093e44144156df59d371e541adb
DIST semgrep-0.115.0.tar.gz 198841 BLAKE2B feece943c721a9d3cade10f08f4670a491e8d943f6559409a34bb66fbcfbf529f72665284ba9f243b773e00767938ed3dbc0b5c52d8aedc7a6e24b998fbc7465 SHA512 1e49db382cbc28005ecd60036bc5f503d51d8a47366d5c810659be9d8afbe6d3950e5cc2269ca3e683358f7925ac3d8943059e9e397c3c3a4ef6dfc9a6f3471a
DIST semgrep-0.55.1.tar.gz 94648 BLAKE2B 471e4a5e25a62fe788bdf65322ea09e598dab1918716ef6492669f0e6db986c367085ff7bf40308af463ae65d7b6f8b23b21ca41508fb1ce40e3a2efc4bfa688 SHA512 45b7a707580d13dd0e77e70b521a29597c72b54164b40747a9697510021f54bd3a614c5fa2a5d72bc8e7ccfd4d852346ba1841da009bcfc9bd5945426026998f
DIST semgrep-0.77.0.tar.gz 120893 BLAKE2B 18273107a201fd3d1386f9c93b75fbd1eaf3f11e4747747bf3a622d9796de01a7565e5ba6aacc4293e25a291426d1df40cace128ceae65552c22913191220f3b SHA512 14d9b1ab76e9ff00c8229ab54085714f3057e0405b31d3a8f0aeb38e3c3e25add701d4438f31d7614af4e7dc973b120be5edecfa9330aa988faafe58b3067cf5

View file

@ -0,0 +1,48 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{9..10} )
inherit distutils-r1
DESCRIPTION="Lightweight static analysis for many languages"
HOMEPAGE="https://github.com/returntocorp/semgrep"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="amd64"
RDEPEND="
>=dev-python/attrs-21.3[${PYTHON_USEDEP}]
>=dev-python/boltons-21.0[${PYTHON_USEDEP}]
>=dev-python/colorama-0.4.0[${PYTHON_USEDEP}]
>=dev-python/click-8.1[${PYTHON_USEDEP}]
>=dev-python/click-option-group-0.5[${PYTHON_USEDEP}]
>=dev-python/glom-22.1[${PYTHON_USEDEP}]
>=dev-python/requests-2.22.0[${PYTHON_USEDEP}]
>=dev-python/ruamel-yaml-0.16.0[${PYTHON_USEDEP}] <dev-python/ruamel-yaml-0.18.0[${PYTHON_USEDEP}]
>=dev-python/tqdm-4.46[${PYTHON_USEDEP}]
>=dev-python/packaging-21.0[${PYTHON_USEDEP}]
>=dev-python/jsonschema-4.6[${PYTHON_USEDEP}]
>=dev-python/wcmatch-8.3[${PYTHON_USEDEP}]
>=dev-python/peewee-3.14[${PYTHON_USEDEP}]
>=dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.26[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.2[${PYTHON_USEDEP}]
>=dev-python/python-lsp-jsonrpc-1.0.0[${PYTHON_USEDEP}]
>=dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
"
src_prepare(){
rm -r tests
sed -i -e 's|~=|>=|g' setup.py || die
eapply_user
}
python_compile() {
export SEMGREP_SKIP_BIN=true
distutils-r1_python_compile
}

View file

@ -1,3 +1,3 @@
DIST mobsf-3.4.3.tar.gz 72260945 BLAKE2B cb12097a56f5a0d06c34a08dc897e80c4da1cbc5050c596bc439940ae3a377eefd585ad6e404f327c8c072c917c1057448dc1ccd43e8d55b2feb4695fd4d28d7 SHA512 1922dcaffa1234fc136a1e78c28cf7a697252b4fa49f0b0be357fef080a1eac6a469df1e07e91505dfcc6f13512268eaa9f68667b61fcb2242d7f144a21ca54e
DIST mobsf-3.4.6.tar.gz 75692868 BLAKE2B fe5cb618a95ea84b1456f0307e213352b3db0e84def8d8d9cfc650e1d92ba6cf7bfbb0a03d4ed640a7bbee91f61fac7396bf001478b8baac8d0d6c1a9c77e51e SHA512 e19f5a92d9960eaee3e44ecc06583ca275ad623ed730a153a8483a346fa97be967952779de17ee7854e4df77a5e1da5b63ba07b50e151a13d62be49591eb2e78
DIST mobsf-3.5.0.tar.gz 75842148 BLAKE2B 5df6929d511e4584cef80b71bae21a12dd82b20b7a0493b52cee63503933308dc6f38a4bf3fbc3e5e50931255294f49dcb640081cfd01ae73f79f4f691cb5707 SHA512 e255974172ef33bc9bac052b98ce7eb5d5c20cce1be266dea2f1b35d0baeb6cf2bd2a03329d01295e4a57b400649acec981f8a504642d330c003a4599bc82d9b
DIST mobsf-3.6.0.tar.gz 84781844 BLAKE2B cbcd7fd27309f5848d00af00ef2e8a9c9d4d5e373cd9947e828acab425498b4709929fd0241c8ce296c5fcf8b7fd0e424a6ac87e8fab9728eea8ea327538d9d5 SHA512 4a4a5965bd2dd7254590b60cc97ca914897bf971a38bdd1236877699cf1767ae290bef95df9159a40432fb6daf3ba1fe4f95f69491cbce48ab3201be3268acbb

View file

@ -25,33 +25,33 @@ QA_PRESTRIPPED="usr/lib/python.*/site-packages/mobsf/DynamicAnalyzer.*
usr/lib/python.*/site-packages/mobsf/StaticAnalyzer.*"
RDEPEND="
dev-python/django[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/rsa[${PYTHON_USEDEP}]
dev-python/biplist[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/colorlog[${PYTHON_USEDEP}]
dev-python/macholib[${PYTHON_USEDEP}]
dev-python/whitenoise[${PYTHON_USEDEP}]
>=dev-python/django-3.1.5[${PYTHON_USEDEP}]
>=dev-python/lxml-4.6.2[${PYTHON_USEDEP}]
>=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/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[${PYTHON_USEDEP}]
dev-python/asn1crypto[${PYTHON_USEDEP}]
dev-python/oscrypto[${PYTHON_USEDEP}]
dev-python/distro[${PYTHON_USEDEP}]
dev-python/IP2Location[${PYTHON_USEDEP}]
dev-util/lief[${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.4.1[${PYTHON_USEDEP}]
dev-python/google-play-scraper[${PYTHON_USEDEP}]
dev-util/androguard[${PYTHON_USEDEP}]
dev-python/apkid[${PYTHON_USEDEP}]
>=dev-python/frida-python-14.2.15[${PYTHON_USEDEP}]
dev-python/ruamel-yaml[${PYTHON_USEDEP}]
dev-python/waitress[${PYTHON_USEDEP}]
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/click[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/pyopenssl[${PYTHON_USEDEP}]
>=dev-python/libsast-1.5.1[${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/ruamel-yaml-0.16.13[${PYTHON_USEDEP}]
>=dev-python/click-8.0.1[${PYTHON_USEDEP}]
>=dev-python/decorator-4.4.2[${PYTHON_USEDEP}]
dev-python/yara-python[${PYTHON_USEDEP}]

View file

@ -1,5 +1,3 @@
DIST semgrep-core-bin-0.103.0.zip 24188286 BLAKE2B 975af789467ffedf842393e0a03037b8cffbd06d13190ac91995a868abac4b8e141963da9cf7b09fef766d0530818a3f44107f76a140462627f8db738e4c0891 SHA512 904e252881fc6ed1a891b19e2eb5d9cb0cf5219b6e0aeac7b32c8a2aa8f1f05ae3404eec881be91b31afdf4da4ad8243829a6f62ff0d41db58dc536fa0fcd60e
DIST semgrep-core-bin-0.52.0.zip 66227377 BLAKE2B 39627034142517e6915ecfc3b1568210821c26bcba0d575718bb0df6a04f056241c54fd9651bc0c3a0e5fa0d79634972e405cb831e3e251a24dd4fddb53e6685 SHA512 db3b4c786c66811ab84dc03153f90d6c0a86f8e221f30acc90a095887a93792fe0bdbdc4a3e7bc8aa0c982142a577cf4155bee7b7b0090964b1ba4c5e7fe324e
DIST semgrep-core-bin-0.55.1.zip 67236896 BLAKE2B 05b225c97b33e7d7ad3b340b77010019417581ada913e50b68faabb00f07c9aa79133da7979502b04bf8162925094b7bb9cf72e1d9981da1403eeb282bd7811a SHA512 94e61167b36bb38e37f7572438acf9c4d79b294fe97e58e8069792a9162679d2ec3cd30c4c6b7fc8c5b397798ed624d8bbe68daf7a33d7e34269d819fd2c02cb
DIST semgrep-core-bin-0.57.0.zip 67800541 BLAKE2B bd7a7d398069555607d1309a3683f80a8ec32c6d3f57f79ec7ca050742627abf8c0a85d6ecbff2cf846811dcf928a89a1a438efc37c2bfe003eb74e9a02c5e67 SHA512 f3d24c7b6ed87555bc6f321ada9dd5f53a84196c69da97988fc7510b30f308ee27515c5770ed36e412d7376878730b9beb2f43f93ae0e7f28fcd671eebbbc1a2
DIST semgrep-core-bin-0.115.0.zip 25757951 BLAKE2B 8b8bf1c045dcbba56c9d4dfc9af8071a31f8707f1ceedd38b9bb05a1048dc32d9d541e5f1006990dfbab2ff306869684a342ca2f3a84a191b62931a9343a054e SHA512 d9efbf9578c573739ecff59d4c5963d417538c46778e71ea07efecdada66b31415b4c6dd11c508bbddb4d8d6da39b917de8f45fdc401e7cb57a12564f1ce7277
DIST semgrep-core-bin-0.77.0.zip 21763516 BLAKE2B 38899cd68236444c69bfb36685b30f19a69023d766e569d56abbfc225013ed645b7f808df5a99ac52b40831ff0da3c0c00cd9555aa0a435bbf9dbafd772fbda8 SHA512 1126ebe5662d4feb6ffc2fc242767283705bbf10b91575f88080af6e669a7ab273ddf7f68158442fe25885cc32b3e1c6bce902d9ed195e526547eff19b891668

View file

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -6,10 +6,12 @@ EAPI=7
DESCRIPTION="Lightweight static analysis for many languages"
HOMEPAGE="https://github.com/returntocorp/semgrep"
PY_VER="cp36.cp37.cp38.cp39.py36.py37.py38.py39"
PY_VER="cp37.cp38.cp39.py37.py38.py39"
SRC_URI="
https://files.pythonhosted.org/packages/${PY_VER}/${P:0:1}/semgrep/semgrep-${PV}-${PY_VER}-none-any.whl -> ${P}.zip"
https://files.pythonhosted.org/packages/${PY_VER}/${P:0:1}/semgrep/semgrep-${PV}-${PY_VER}-none-any.whl -> ${P}.zip
"
#https://files.pythonhosted.org/packages/5e/6e/9af27d57c76abbfe1fda1ebebd41ddc730092bb1bfaa4b6b42ccc2324207/
#semgrep-0.103.0-cp37.cp38.cp39.py37.py38.py39-none-any.whl
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="amd64"
@ -20,5 +22,5 @@ DEPEND="${RDEPEND}"
S="${WORKDIR}/semgrep-${PV}.data"
src_install(){
dobin purelib/semgrep/bin/{semgrep-core,spacegrep}
dobin purelib/semgrep/bin/semgrep-core
}

View file

@ -1,24 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Lightweight static analysis for many languages"
HOMEPAGE="https://github.com/returntocorp/semgrep"
#SRC_URI="https://files.pythonhosted.org/packages/3.6/f/frida/frida-12.0.3-py3.6-linux-x86_64.egg"
SRC_URI="https://files.pythonhosted.org/packages/18/1c/adc86207bd0431d1cbbb57ddb2912544c2e1ef8587e8ab5de48dc771b181/semgrep-0.52.0-cp36.cp37.cp38.cp39.py36.py37.py38.py39-none-any.whl -> ${P}.zip"
#https://files.pythonhosted.org/packages/2e/73/6c387511c94d95a1ebcfe5afde2e4830ae236a9076576a5e9d7f65d35be5/semgrep-0.42.0-cp36.cp37.cp38.py36.py37.py38-none-any.whl -> ${P}.zip"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="amd64"
RDEPEND=""
DEPEND="${RDEPEND}"
S="${WORKDIR}/semgrep-${PV}.data"
src_install(){
dobin purelib/semgrep/bin/{semgrep-core,spacegrep}
}

View file

@ -1,24 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Lightweight static analysis for many languages"
HOMEPAGE="https://github.com/returntocorp/semgrep"
PY_VER="cp36.cp37.cp38.cp39.py36.py37.py38.py39"
SRC_URI="
https://files.pythonhosted.org/packages/${PY_VER}/${P:0:1}/semgrep/semgrep-${PV}-${PY_VER}-none-any.whl -> ${P}.zip"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="amd64"
RDEPEND=""
DEPEND="${RDEPEND}"
S="${WORKDIR}/semgrep-${PV}.data"
src_install(){
dobin purelib/semgrep/bin/{semgrep-core,spacegrep}
}

View file

@ -40,6 +40,7 @@ def portage_mapping(search):
"dev-python/jinja2": "dev-python/jinja",
"dev-python/lief": "dev-util/lief",
"dev-python/Markdown": "dev-python/markdown",
"dev-python/openstep-parser": "dev-python/openstep_parser",
"dev-python/Pillow": "dev-python/pillow",
"dev-python/pjsip": "net-libs/pjproject",
"dev-python/prompt-toolkit": "dev-python/prompt_toolkit",