pentoo-overlay/dev-python/vulndb/vulndb-0.1.0.ebuild
2018-06-03 09:15:58 +08:00

25 lines
566 B
Bash

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
DESCRIPTION="Python SDK to access the vulnerability database"
HOMEPAGE="https://github.com/vulndb/python-sdk/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=dev-python/setuptools-git-1.1[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"
src_prepare(){
sed -e 's|setuptools_git >= 1.1||' -i setup.py || die "sed failed"
eapply_user
}