Browse Source

Merge pull request #38 from inode64/au-parser

ua-parser is required for user-agents
master
Andreas Billmeier 4 months ago
committed by GitHub
parent
commit
4c1b048747
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      dev-python/ua-parser/Manifest
  2. 8
      dev-python/ua-parser/metadata.xml
  3. 32
      dev-python/ua-parser/ua-parser-0.10.0.ebuild
  4. 2
      dev-python/user-agents/Manifest
  5. 1
      dev-python/user-agents/user-agents-2.0-r1.ebuild

3
dev-python/ua-parser/Manifest

@ -0,0 +1,3 @@
DIST ua-parser-0.10.0.tar.gz 37542 BLAKE2B e5a6bce797f1935c758d93ffece5d0032a287f55089759cef1e600f3470eef32cb3b239a734a2435d46c969ec26c76e727b7aca4270d870ce482c584f2fd9f84 SHA512 5fe1b1c5f0c990b351d31542b1975e34750de265257f10f69b9158392c3934605bc39948bd56fa97757dae314524bc4ceb2d71dfada55ff7625bec6685f71552
EBUILD ua-parser-0.10.0.ebuild 727 BLAKE2B 6b15e7b7e8011d3a5088e9b7fb57fbfe60b6fa53d3ddc750d1d277092d2131770c43c230d4a089593a8f467048fc10732228efdbbd0807e63a65c40ab2150f52 SHA512 dec12082a9b4e6823f37204e23454170dc618140438072019bd5204c1fbe1348474935a1835b0f9492045a233bdbfcd6cf3834b85355bb9155ade02f8b1c33c0
MISC metadata.xml 251 BLAKE2B f71950ab94dcb089e7a970535eba89081186c5a6599f4c0330901f16f1239d1df8e66660327fcd92ff8af466851f1f4280890e10dd005685c88811c42f815eb0 SHA512 080ff0b1b5b4c9f6868c9129bfeca432cd8d85459e919b0a5171b0c3c872dadb0c00b324ca83bdcbeb9c2faff915845a97287c1236bad089100d03d191c57b8e

8
dev-python/ua-parser/metadata.xml

@ -0,0 +1,8 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
</pkgmetadata>

32
dev-python/ua-parser/ua-parser-0.10.0.ebuild

@ -0,0 +1,32 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..10} )
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="LICENSE.txt"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND="
dev-python/pyyaml[${PYTHON_USEDEP}]
"
BDEPEND="
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
}

2
dev-python/user-agents/Manifest

@ -1,3 +1,3 @@
DIST user-agents-2.0.tar.gz 9356 BLAKE2B 996130f46e813cca0f7343593ef80c81cf5db335818e03f3ccc770babb775cd522ba508dc323da246e3fbf72bbe010569b5302183ea76f286df63432773acd29 SHA512 0bfd1da8c4b25b521524dfcf9ebb1ea9eaec6f7b72f05f370eb2f180484ecfb54abc0b7c7b4d86c2c5cd6e21bae11581ce8f4587d5b844b135ee48e61a106f58
EBUILD user-agents-2.0-r1.ebuild 594 BLAKE2B a7e3fdb4279eec3da2c0f84829920106493e5b5e73c0e60210cdbe39eb7c5025cf7bceea474fc781c0cb9e7af79803ca8e2326d8d9803228c6ef98dfb5f91895 SHA512 e77d801826d5876e273c6d2a322fec1f6261a063e2128a90259048c80191ce421752cef83dd1f5359956c3d25225d7fd9416b666081a00c7b87836fc4e10cbf3
EBUILD user-agents-2.0-r1.ebuild 642 BLAKE2B 1c64ad51fa2fc2178ca67dcd855ed29d51481d91deb4fea9acef8bca33db199c624605c706d3433424b29a6b992fbac4de2b13a3291f4d5de864819280646ad2 SHA512 dc735503a06d15e42f7cba411c56d5f828a7ab11a817f7e6fc8dc57ca6879412ec53b1cd2b5246b7c2f7aa7564f67b5b7a8961b9420e9520f056a97235397e15
MISC metadata.xml 252 BLAKE2B 507e0ddc9d50b879ff374b903b142f85d020dfd6c486aba2af84fe082c878e780edbb79188ae10104d57db0eb775c86814cc8c06891a3854c9da840a4d377050 SHA512 9470ac9c8a5a4f80e3f767e7aa198addc7b21866c63b2a310e9f41ce65817672fb77423117bdd619e99cb62322025aeadf50717e23eafabf99080fcc106820af

1
dev-python/user-agents/user-agents-2.0-r1.ebuild

@ -17,6 +17,7 @@ KEYWORDS="amd64 ~arm arm64 x86 amd64-linux x86-linux"
IUSE="test"
DEPEND="
~dev-python/ua-parser-0.10.0[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)

Loading…
Cancel
Save