mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-21 14:21:02 +02:00
linkfinder: 20191124 bump
This commit is contained in:
parent
69a31c353d
commit
d12fe6a9ef
2 changed files with 51 additions and 0 deletions
|
|
@ -1 +1,2 @@
|
|||
DIST linkfinder-20190717.tar.gz 8641 BLAKE2B 98a70be6c0f09216a56fbd52a2241d226fa0c683f677c7639a6e0146e2a221396941473f8ef404ae5a10e816d0c01aa71ac4d103e51dfe8ed9520e8314b63298 SHA512 9ec3ec7d07b8a08b3ffe34ab48b4fb644c8590fcea4998a66d05e888e4504880b4dd9cd6ddad8d7e00b1db049a681f42e1fef1927b6defbc064508c314e9ac33
|
||||
DIST linkfinder-20191124.tar.gz 9193 BLAKE2B c5e8eb04d437a9886cb46451d2a8677eb34383ab5cb1bb4ebe0988ff0b58bfaa87d80fd9a99ab7be67eeded74fe92716ff2d430025786a1377a0bee61bd6268a SHA512 d3a61e9c9265bf9b14289ccc8b44ec098ddf8f46842e314f0ab206649129501c20cf67ad265a9b06c3a22d14a01970613c675f1aabeb870f800262065d201ee0
|
||||
|
|
|
|||
50
net-misc/linkfinder/linkfinder-20191124.ebuild
Normal file
50
net-misc/linkfinder/linkfinder-20191124.ebuild
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
# TODO: add py3.* support
|
||||
PYTHON_COMPAT=( python3_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: 20191124
|
||||
HASH_COMMIT="7495676cfc84f5b5df1a2d7ffcf12a8b866de1a6"
|
||||
|
||||
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"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/jsbeautifier[${PYTHON_USEDEP}]"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
pkg_setup() {
|
||||
python_setup
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_python_install
|
||||
python_foreach_impl python_newscript linkfinder.py linkfinder
|
||||
|
||||
insinto /usr/share/${PN}/
|
||||
doins *.html
|
||||
|
||||
dodoc README.md Dockerfile
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "\nSee documentation: https://github.com/GerbenJavado/LinkFinder#examples\n"
|
||||
}
|
||||
Loading…
Reference in a new issue