dirhunt ebuild for #290 (please review)

This commit is contained in:
Guido Kroon 2018-08-27 20:45:57 +02:00
parent fa83f06eb4
commit cee80f5fb3
No known key found for this signature in database
GPG key ID: 394C398C531EFAB0
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST dirhunt-0.4.2.tar.gz 98093 BLAKE2B ac3aac40715415b8b4fe6c82b0949d33d21694a79c1c1ae06b65ba1623e2f4e857e4066da47de708e9b79e29e5cf5ea65baf4063fd8d77415126fafc9aa40c33 SHA512 b143dbe19a49a9ebbb0f2d2cf8906c58c88dd011b9b3c754ae65a099d6a8456dccdbbbbca16875e110c7b47cf7529e8499dde7c4a05e0d25db1bbb6be26adba4

View file

@ -0,0 +1,36 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_6 )
EGO_PN=github.com/Nekmo/${PN}
inherit distutils-r1
if [[ ${PV} = *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Nekmo/dirhunt.git"
KEYWORDS=""
else
KEYWORDS="~amd64 ~x86"
EGIT_COMMIT="v${PV}"
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
fi
DESCRIPTION="Dirhunt is a web crawler optimized for searching and analyzing web directories."
HOMEPAGE="https://github.com/Nekmo/dirhunt"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=dev-python/beautifulsoup-4.5.1
dev-python/click
dev-python/colorama
dev-python/humanize
dev-python/requests
dev-python/requests-mock"
DEPEND="${RDEPEND}"