update/fix ua-parser-0.8.0 dep

This commit is contained in:
Andreas Billmeier 2019-11-05 22:57:45 +01:00
parent 9041a87743
commit 16343dc7b0
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
2 changed files with 31 additions and 0 deletions

View File

@ -1,3 +1,4 @@
DIST ua-parser-0.8.0.tar.gz 35024 BLAKE2B 61248efca1642e7f52ce8753456c44a7c1d84f6bc556308bc824da5f7422a97328e107ed3ca637bd23998cee5a2f407ab1f07a351857338baf8d5f8e4f884454 SHA512 3c9fb70a6cbae13aedc9e3bb0ed2442d9d4f1f6bb211c1a71a45c8f2afe38c90d824dbd827a6d9cf4badb298d3e7d5992d2139fdd4b0349abd1fe400bb9b183f
EBUILD ua-parser-0.8.0-r1.ebuild 710 BLAKE2B 7622fcbb60f0b98eb07efa3336f61f6014932a641b9a031a23028a33be4aff374963a67abc66c98a9bf002f5e6e83f4403ee82ac034171a11b3609593c88de64 SHA512 90554bccea28b1695b2dabda8034b15d0b6a59079a74775b4d347d12de25051f6b5d645acf1a91d499fbbefc86faf65a7d23b676c9ca4e67787b400ccf7575f6
EBUILD ua-parser-0.8.0.ebuild 687 BLAKE2B 11fe89e5d435d36aa3dc1d340b0722598ffa3fffe80fb583eb5b026a3dc467457c1fe1748ab546ada73cc711f05da91eef6a09c57975d40be6409736725183ce SHA512 edd682d9f7b19965c52b55f3afa42cff0a989e9425f7040dab828e00152b413d368718c77bc6af526f567b31a2614cb232de1787a5a19d81024d63d2e943ad7c
MISC metadata.xml 252 BLAKE2B 507e0ddc9d50b879ff374b903b142f85d020dfd6c486aba2af84fe082c878e780edbb79188ae10104d57db0eb775c86814cc8c06891a3854c9da840a4d377050 SHA512 9470ac9c8a5a4f80e3f767e7aa198addc7b21866c63b2a310e9f41ce65817672fb77423117bdd619e99cb62322025aeadf50717e23eafabf99080fcc106820af

View File

@ -0,0 +1,30 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
DESCRIPTION="Python port of Browserscope's user agent parser"
HOMEPAGE="https://github.com/ua-parser/uap-python https://pypi.org/project/ua-parser/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND=">=dev-python/pyyaml-5.1"
DEPEND="${REDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}