mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 22:48:07 -07:00
dev-python/pycares: add package (bug 533578)
Package-Manager: portage-2.3.0
This commit is contained in:
1
dev-python/pycares/Manifest
Normal file
1
dev-python/pycares/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST pycares-2.1.0.tar.gz 226838 SHA256 449ad785ecb594ae063c0c86537ef97513385117a2eb172f747ad2a29221e898 SHA512 189851a9488828eb41bd6adbefd14022ae8470bde98c1d1c21d67992acdf721e6a61c3d8d8b4f85fb420e1e0900c54e53893586d6f80cc822371260fc17e55c4 WHIRLPOOL 3c3274e122fcea0edee02e1d1719c5dfbf6d437860d2962da0c18e8e56314df149f5c40e1847f7b9ad58c10a594943419453f594017e8508d7d7acf6197c6d22
|
||||
11
dev-python/pycares/metadata.xml
Normal file
11
dev-python/pycares/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<upstream>
|
||||
<remote-id type="pypi">pycares</remote-id>
|
||||
<remote-id type="github">saghul/pycares</remote-id>
|
||||
</upstream>
|
||||
<maintainer type="person">
|
||||
<email>zmedico@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
26
dev-python/pycares/pycares-2.1.0.ebuild
Normal file
26
dev-python/pycares/pycares-2.1.0.ebuild
Normal file
@@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_{4,5}} )
|
||||
|
||||
inherit eutils distutils-r1
|
||||
|
||||
DESCRIPTION="Python interface for c-ares"
|
||||
HOMEPAGE="https://github.com/saghul/pycares/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
# Tests fail with network-sandbox, since they try to resolve google.com
|
||||
RESTRICT="test"
|
||||
|
||||
# uses bundled/patched c-ares
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
"${PYTHON:-python}" tests/tests.py || die
|
||||
}
|
||||
Reference in New Issue
Block a user