diff options
author | Amy Liffey <amynka@gentoo.org> | 2018-08-05 17:18:07 +0100 |
---|---|---|
committer | Amy Liffey <amynka@gentoo.org> | 2018-08-05 17:19:40 +0100 |
commit | df9c050629bdfd591ad676df5f9d968c8f6716b6 (patch) | |
tree | 6e49d1539a5fbb2f2548858abfd047cfc19a21ef /dev-python/serverfiles | |
parent | net-wireless/wpa_supplicant: rough live ebuild (diff) | |
download | gentoo-df9c050629bdfd591ad676df5f9d968c8f6716b6.tar.gz gentoo-df9c050629bdfd591ad676df5f9d968c8f6716b6.tar.bz2 gentoo-df9c050629bdfd591ad676df5f9d968c8f6716b6.zip |
dev-python/serverfiles: Initial commit dep for Orange
Bug: https://bugs.gentoo.org/661018
Suggested-by: Nils Freydank <holgersson@posteo.de>
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-python/serverfiles')
-rw-r--r-- | dev-python/serverfiles/Manifest | 1 | ||||
-rw-r--r-- | dev-python/serverfiles/metadata.xml | 7 | ||||
-rw-r--r-- | dev-python/serverfiles/serverfiles-0.2.1.ebuild | 26 |
3 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/serverfiles/Manifest b/dev-python/serverfiles/Manifest new file mode 100644 index 000000000000..82de8390c5fa --- /dev/null +++ b/dev-python/serverfiles/Manifest @@ -0,0 +1 @@ +DIST serverfiles-0.2.1.tar.gz 10506 BLAKE2B b653248261f05b20fa65a566e29065e97679383e44d3e8c05d10d1601376de2c39e1690a7ec1b1b3c680f407086294ea0769e030702fd01bff8833cc32889b8e SHA512 80512dfd8381f12aa143a88fb656bc7dca99fbc3c07a0b6cd9c7be8477de984a5121ffdb2f4cfe0f2150b83100b68ee478cfa7f26ea2f29e4a6fb7fe4eb0c18e diff --git a/dev-python/serverfiles/metadata.xml b/dev-python/serverfiles/metadata.xml new file mode 100644 index 000000000000..007aaf442ea7 --- /dev/null +++ b/dev-python/serverfiles/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>amynka@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/dev-python/serverfiles/serverfiles-0.2.1.ebuild b/dev-python/serverfiles/serverfiles-0.2.1.ebuild new file mode 100644 index 000000000000..5c1263570932 --- /dev/null +++ b/dev-python/serverfiles/serverfiles-0.2.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6}) +inherit distutils-r1 + +DESCRIPTION="Utility for accessing HTTP server and storing files locally for reuse" +HOMEPAGE="https://github.com/biolab/serverfiles" +SRC_URI="https://github.com/biolab/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=">=dev-python/requests-2.11.1[${PYTHON_USEDEP}]" +DEPEND="${DEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +python_test(){ + py.test -v || die "Tests fail with ${EPYTHON}" +} |