mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
linkfinder: new tool (deps for net-analyzer/osmedeus)
This commit is contained in:
parent
96e8637036
commit
1a62320ef5
3 changed files with 52 additions and 0 deletions
1
net-misc/linkfinder/Manifest
Normal file
1
net-misc/linkfinder/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
DIST linkfinder-20190717.tar.gz 8641 BLAKE2B 98a70be6c0f09216a56fbd52a2241d226fa0c683f677c7639a6e0146e2a221396941473f8ef404ae5a10e816d0c01aa71ac4d103e51dfe8ed9520e8314b63298 SHA512 9ec3ec7d07b8a08b3ffe34ab48b4fb644c8590fcea4998a66d05e888e4504880b4dd9cd6ddad8d7e00b1db049a681f42e1fef1927b6defbc064508c314e9ac33
|
||||||
43
net-misc/linkfinder/linkfinder-20190717.ebuild
Normal file
43
net-misc/linkfinder/linkfinder-20190717.ebuild
Normal file
|
|
@ -0,0 +1,43 @@
|
||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python{2_7,3_{5,6}} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="A python script that finds endpoints in JavaScript files"
|
||||||
|
HOMEPAGE="https://github.com/GerbenJavado/LinkFinder"
|
||||||
|
|
||||||
|
if [[ ${PV} == *9999 ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/GerbenJavado/LinkFinder"
|
||||||
|
else
|
||||||
|
# snapshot: 20190717
|
||||||
|
HASH_COMMIT="ceb93552377903ff84708d27587d1ce6b08e2a43"
|
||||||
|
|
||||||
|
SRC_URI="https://github.com/GerbenJavado/LinkFinder/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
S="${WORKDIR}/LinkFinder-${HASH_COMMIT}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT=0
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND="${PYTHON_DEPS}
|
||||||
|
dev-python/jsbeautifier[${PYTHON_USEDEP}]"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
python_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
distutils-r1_python_install
|
||||||
|
python_foreach_impl python_doscript linkfinder.py
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
elog "\nSee documentation: https://github.com/GerbenJavado/LinkFinder#examples\n"
|
||||||
|
}
|
||||||
8
net-misc/linkfinder/metadata.xml
Normal file
8
net-misc/linkfinder/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