diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:47:34 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:47:34 -0500 |
| commit | dda948891d3731927b821ce31f9d9a2d03ba20c5 (patch) | |
| tree | 99cd40be4cbb0606260da212cd81b8ab2db9da9b /dev-python/yara-python | |
| parent | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (diff) | |
| download | baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.tar.gz baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.tar.xz baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.zip | |
Adding metadata
Diffstat (limited to 'dev-python/yara-python')
| -rw-r--r-- | dev-python/yara-python/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/yara-python/metadata.xml | 26 | ||||
| -rw-r--r-- | dev-python/yara-python/yara-python-4.5.4.ebuild | 40 | ||||
| -rw-r--r-- | dev-python/yara-python/yara-python-4.5.5.ebuild | 40 | ||||
| -rw-r--r-- | dev-python/yara-python/yara-python-9999.ebuild | 40 |
5 files changed, 148 insertions, 0 deletions
diff --git a/dev-python/yara-python/Manifest b/dev-python/yara-python/Manifest new file mode 100644 index 000000000000..fd349dccce43 --- /dev/null +++ b/dev-python/yara-python/Manifest @@ -0,0 +1,2 @@ +DIST yara-python-4.5.4.gh.tar.gz 39313 BLAKE2B fc41fd378bcd2cd1da2ae442f794c413d52a2dae9c9766d03ee1a641f31a5ceb4fc50555d17e7167f080851aae68f1c248fcd09de981326797666d0669ead419 SHA512 fee87a2127284a2287c60b14bcd36facf061542da1321ccaa26dbe23c7e8534253434a78c8a65a0c2915bb1331acbdee78b12d02b748ec7d95a106913172a1a2 +DIST yara-python-4.5.5.gh.tar.gz 39314 BLAKE2B 743406b585f4dfb6b273fb10d13eeccb479e2f51f0642e1cdecf956ff190090ed5d44f25949d385fb6814ccac71be9b9cd6a959c0e324ca9babf3bcb35b84785 SHA512 fb73b52b22d5fc7b91eff6847e53ce794e18ca303687d237ebd805dcddc991c714d15c0103c856717004a07c5f1753c0b119dbfc07578679de823ff302276f8f diff --git a/dev-python/yara-python/metadata.xml b/dev-python/yara-python/metadata.xml new file mode 100644 index 000000000000..f87dfcfbcde6 --- /dev/null +++ b/dev-python/yara-python/metadata.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>mario.haustein@hrz.tu-chemnitz.de</email> + <name>Mario Haustein</name> + </maintainer> + <maintainer type="person"> + <email>sam@gentoo.org</email> + <name>Sam James</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <longdescription> + With this library you can use YARA from your Python programs. It covers + all YARA's features, from compiling, saving and loading rules to + scanning files, strings and processes. + </longdescription> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-python/yara-python/yara-python-4.5.4.ebuild b/dev-python/yara-python/yara-python-4.5.4.ebuild new file mode 100644 index 000000000000..7240ad74804f --- /dev/null +++ b/dev-python/yara-python/yara-python-4.5.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 +PYTHON_COMPAT=( python3_{13..14} ) +inherit distutils-r1 + +DESCRIPTION="Python interface for a malware identification and classification tool" +HOMEPAGE="https://github.com/VirusTotal/yara-python" + +if [[ ${PV} == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/VirusTotal/yara-python.git" +else + SRC_URI="https://github.com/virustotal/yara-python/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="amd64 ~arm64 ~ppc64 x86" +fi + +LICENSE="Apache-2.0" +SLOT="0" + +RDEPEND=" + =app-forensics/yara-$(ver_cut 1-2)* +" +DEPEND="${RDEPEND}" + +distutils_enable_tests unittest + +python_configure_all() { + cat >> setup.cfg <<-EOF + dynamic_linking = True + EOF +} + +python_test() { + "${EPYTHON}" tests.py -v || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/yara-python/yara-python-4.5.5.ebuild b/dev-python/yara-python/yara-python-4.5.5.ebuild new file mode 100644 index 000000000000..664dd56a8f19 --- /dev/null +++ b/dev-python/yara-python/yara-python-4.5.5.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 +PYTHON_COMPAT=( python3_{13..14} ) +inherit distutils-r1 + +DESCRIPTION="Python interface for a malware identification and classification tool" +HOMEPAGE="https://github.com/VirusTotal/yara-python" + +if [[ ${PV} == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/VirusTotal/yara-python.git" +else + SRC_URI="https://github.com/virustotal/yara-python/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="amd64 ~arm64 ~ppc64 x86" +fi + +LICENSE="Apache-2.0" +SLOT="0" + +RDEPEND=" + =app-forensics/yara-$(ver_cut 1-2)* +" +DEPEND="${RDEPEND}" + +distutils_enable_tests unittest + +python_configure_all() { + cat >> setup.cfg <<-EOF + dynamic_linking = True + EOF +} + +python_test() { + "${EPYTHON}" tests.py -v || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/yara-python/yara-python-9999.ebuild b/dev-python/yara-python/yara-python-9999.ebuild new file mode 100644 index 000000000000..817eaf2fde22 --- /dev/null +++ b/dev-python/yara-python/yara-python-9999.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 +PYTHON_COMPAT=( python3_{13..14} ) +inherit distutils-r1 + +DESCRIPTION="Python interface for a malware identification and classification tool" +HOMEPAGE="https://github.com/VirusTotal/yara-python" + +if [[ ${PV} == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/VirusTotal/yara-python.git" +else + SRC_URI="https://github.com/virustotal/yara-python/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +fi + +LICENSE="Apache-2.0" +SLOT="0" + +RDEPEND=" + =app-forensics/yara-$(ver_cut 1-2)* +" +DEPEND="${RDEPEND}" + +distutils_enable_tests unittest + +python_configure_all() { + cat >> setup.cfg <<-EOF + dynamic_linking = True + EOF +} + +python_test() { + "${EPYTHON}" tests.py -v || die "Tests fail with ${EPYTHON}" +} |
