diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-python/mechanize | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python/mechanize')
| -rw-r--r-- | dev-python/mechanize/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/mechanize/mechanize-0.4.5.ebuild | 24 | ||||
| -rw-r--r-- | dev-python/mechanize/metadata.xml | 22 |
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/mechanize/Manifest b/dev-python/mechanize/Manifest new file mode 100644 index 000000000000..073fd33d1ced --- /dev/null +++ b/dev-python/mechanize/Manifest @@ -0,0 +1 @@ +DIST mechanize-0.4.5.tar.gz 216908 BLAKE2B 67951ad8295a32799768b3719525d45d502bc773c6f2a5e762e3dae97f309c8c265a2cb3efde95c9e8cb65e89dee6ad6ad8585685baa4e9ff1acfd146f115f6f SHA512 51706d5c073501d02fb7395eda30625ed9191324f948073c7d1589df0e507d8b7641ca514ceff55e7d82e899ba6e10c55507c79668976c7654ff0004671d09d2 diff --git a/dev-python/mechanize/mechanize-0.4.5.ebuild b/dev-python/mechanize/mechanize-0.4.5.ebuild new file mode 100644 index 000000000000..c9ee10e59bcf --- /dev/null +++ b/dev-python/mechanize/mechanize-0.4.5.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="Stateful programmatic web browsing in Python" +HOMEPAGE="https://github.com/python-mechanize/mechanize" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="|| ( BSD ZPL )" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" +IUSE="doc" + +DEPEND=">=dev-python/html5lib-0.999999999[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" + +python_test() { + "${PYTHON}" run_tests.py || die +} diff --git a/dev-python/mechanize/metadata.xml b/dev-python/mechanize/metadata.xml new file mode 100644 index 000000000000..a2986af01af3 --- /dev/null +++ b/dev-python/mechanize/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <longdescription lang="en"> + mechanize is a Python module for static programmatic web browsing in + Python, after Andy Lester's Perl module WWW::Mechanize. With the Browser + subclass any url can be opened - not just http - and UserAgentBase + offers easy dynamic configuration of user-agent features like protocol, + cookie, redirection and robots.txt handling. Other functionalities + include easy HTML form filling using ClientForm interface, convenient + link parsing and following, browser history with .back() and .reload() + methods and automatic handling of HTTP-Equiv and Refresh. + </longdescription> + <upstream> + <remote-id type="sourceforge">wwwsearch</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> |
