| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 git-r3
DESCRIPTION="A library to identify devices by parsing user agent strings"
HOMEPAGE="https://github.com/selwin/python-user-agents"
EGIT_REPO_URI="https://github.com/selwin/python-user-agents.git"
LICENSE="MIT"
SLOT="0"
RDEPEND="dev-python/ua-parser[${PYTHON_USEDEP}]"
distutils_enable_tests pytest
EPYTEST_DESELECT=( user_agents/tests.py::test_wrapper )
python_test() {
epytest -v user_agents/tests.py
}
dev-python/ua-parser[${PYTHON_USEDEP}]