mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-27 09:11:00 +02:00
maryam: new ebuild (Closes: https://github.com/pentoo/pentoo-overlay/issues/507)
This commit is contained in:
parent
7eeb3cdec6
commit
9896dbefd2
4 changed files with 72 additions and 0 deletions
1
app-forensics/maryam/Manifest
Normal file
1
app-forensics/maryam/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST maryam-1.3.2_p20191004.tar.gz 62946 BLAKE2B 813ab893f6ce5528c066c5ca6eb6ee17ec7e12211aac5184ac1c001ffc6ca291639fa9dcf48bb3114e79e8b26e079f4eee5a1eae327f710c1930507483960d04 SHA512 1d27883bc831a47690cc67b655916cb50fd52e1c168c412e6581cbb1124ec63c5432cd09d2bc89758112b090ad56065f825608757e7b592fa5381b3a07f399b2
|
||||
1
app-forensics/maryam/maryam-1.3.2_p20191004.ebuild
Symbolic link
1
app-forensics/maryam/maryam-1.3.2_p20191004.ebuild
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
./maryam-9999.ebuild
|
||||
62
app-forensics/maryam/maryam-9999.ebuild
Normal file
62
app-forensics/maryam/maryam-9999.ebuild
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="ssl,threads"
|
||||
|
||||
inherit eutils python-single-r1
|
||||
|
||||
DESCRIPTION="A full-featured open-source intelligence (OSINT) framework"
|
||||
HOMEPAGE="https://github.com/saeeddhqan/Maryam"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/saeeddhqan/Maryam"
|
||||
else
|
||||
HASH_COMMIT="bc8ff2418c57be368c56b8024326cdda94430b48" # 20191004
|
||||
SRC_URI="https://github.com/saeeddhqan/Maryam/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
S="${WORKDIR}/Maryam-${HASH_COMMIT}"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-python/lxml[${PYTHON_USEDEP}]"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -e "s/^__version__ = \"\(.*\)\"/__version__ = \"${PV}\"/" \
|
||||
-i core/base.py || die
|
||||
|
||||
python_fix_shebang "${S}"
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/${PN}"
|
||||
doins -r core/ data/ modules/ maryam
|
||||
|
||||
make_wrapper $PN \
|
||||
"python2 /usr/share/${PN}/maryam" \
|
||||
"/usr/share/${PN}"
|
||||
|
||||
dodoc README.md
|
||||
|
||||
python_optimize "${D}/usr/share/${PN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "\nSee documentation: https://github.com/saeeddhqan/maryam/wiki/"
|
||||
einfo "Examples: https://github.com/saeeddhqan/Maryam/wiki/modules\n"
|
||||
}
|
||||
8
app-forensics/maryam/metadata.xml
Normal file
8
app-forensics/maryam/metadata.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>email@linxon.ru</email>
|
||||
<name>Yury Martynov</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Loading…
Reference in a new issue