2023-03-21 22:13:18 +01:00
|
|
|
# Copyright 1999-2021 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=8
|
|
|
|
|
2024-08-20 03:13:06 +02:00
|
|
|
PYTHON_COMPAT=( python3_{10..12} )
|
2023-03-21 22:13:18 +01:00
|
|
|
inherit distutils-r1
|
|
|
|
|
|
|
|
DESCRIPTION="Module to detect if a given HTTP User Agent is a web crawler"
|
|
|
|
HOMEPAGE="https://github.com/rory/robot-detection"
|
|
|
|
SRC_URI="https://github.com/rory/robot-detection/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
|
|
|
|
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
|
|
|
|
|
|
|
|
distutils_enable_tests unittest
|