dev-python/MechanicalSoup: initial ebuild

Package-Manager: Portage-2.3.0, Repoman-2.3.1
This commit is contained in:
William Hubbs
2017-01-03 11:55:55 -06:00
parent 24182c651e
commit bef2b64cbf
3 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST MechanicalSoup-0.6.0.zip 5286 SHA256 e2b950c11fc5414d246b3c82024272d7ba729ab1f90534fc65fc445a63b7434d SHA512 cc413723514f3beee1267c57c16f6de2c19eb1f64535a60b546d289c7c18d8c4ba752ea61ab0b4a2aead2b56b12639cd226cb32662622515cb40262b7e619c24 WHIRLPOOL 8a36b65b234cecdec5e334d04fce8fcf8b306c205ae7b4b9acb815dc40db63ab3f7e0fc64ac4862295bfe3939a1eeaa189065f6bd57e1a158e2f4e1e168cb6f8

View File

@@ -0,0 +1,35 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5} )
inherit distutils-r1
if [[ ${PV} = *9999* ]]; then
EGIT_REPO_URI="git://github.com/hickford/MechanicalSoup"
inherit git-r3
else
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
KEYWORDS="~amd64"
fi
DESCRIPTION="a python library for automating interaction with web sites"
HOMEPAGE="https://pypi.python.org/pypi/MechanicalSoup"
LICENSE="MIT"
SLOT="0"
IUSE=""
COMMON_DEPEND="
>=dev-python/beautifulsoup-4.0
>=dev-python/requests-2.0
>=dev-python/six-1.4
"
DEPEND="
${COMMON_DEPEND}
app-arch/unzip
dev-python/setuptools
"
RDEPEND="${COMMON_DEPEND}"

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>williamh@gentoo.org</email>
<name>William Hubbs</name>
</maintainer>
<maintainer type="project">
<email>python@gentoo.org</email>
</maintainer>
</pkgmetadata>