summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Lamm <expeditioneer@gentoo.org>2021-07-20 21:06:41 +0200
committerDennis Lamm <expeditioneer@gentoo.org>2021-07-21 06:36:05 +0200
commit4c586506b2850d4d5b1fd1a385c9bb01106165a4 (patch)
treed46726f7462588bb80ca75cb192ee6718d62952e /dev-python/pytest-localftpserver
parentsys-apps/systemd-tmpfiles: Keyword 248.3 ia64, #751652 (diff)
downloadgentoo-4c586506b2850d4d5b1fd1a385c9bb01106165a4.tar.gz
gentoo-4c586506b2850d4d5b1fd1a385c9bb01106165a4.tar.bz2
gentoo-4c586506b2850d4d5b1fd1a385c9bb01106165a4.zip
dev-python/pytest-localftpserver: added new ebuild
Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org> Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>
Diffstat (limited to 'dev-python/pytest-localftpserver')
-rw-r--r--dev-python/pytest-localftpserver/Manifest1
-rw-r--r--dev-python/pytest-localftpserver/metadata.xml15
-rw-r--r--dev-python/pytest-localftpserver/pytest-localftpserver-1.1.2.ebuild28
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/pytest-localftpserver/Manifest b/dev-python/pytest-localftpserver/Manifest
new file mode 100644
index 000000000000..0bff5dd82d10
--- /dev/null
+++ b/dev-python/pytest-localftpserver/Manifest
@@ -0,0 +1 @@
+DIST pytest_localftpserver-1.1.2.tar.gz 41275 BLAKE2B ddab430541208ea7e30b7091f0e5ed1ff347c4f289c79e1bf93e7fc56ac3d9076065afefb383e8e394cf702ce906747c7450acc0423df73cba5762cac01efec2 SHA512 44dfb4e680f82d6156212a06e320d437c5aa947b149177bb05a612473f882e0d2e8ff02751d0f79d56596cada82a299c9266b5849220687cea1028df7ca1bb00
diff --git a/dev-python/pytest-localftpserver/metadata.xml b/dev-python/pytest-localftpserver/metadata.xml
new file mode 100644
index 000000000000..62e1789c4b28
--- /dev/null
+++ b/dev-python/pytest-localftpserver/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>3dprint@gentoo.org</email>
+ <name>Gentoo 3D Printer Project</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <bugs-to>https://github.com/oz123/pytest-localftpserver/issues</bugs-to>
+ <doc>https://pytest-localftpserver.readthedocs.io</doc>
+ <remote-id type="pypi">pytest-localftpserver</remote-id>
+ <remote-id type="github">oz123/pytest-localftpserver</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pytest-localftpserver/pytest-localftpserver-1.1.2.ebuild b/dev-python/pytest-localftpserver/pytest-localftpserver-1.1.2.ebuild
new file mode 100644
index 000000000000..4706d32e6255
--- /dev/null
+++ b/dev-python/pytest-localftpserver/pytest-localftpserver-1.1.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit distutils-r1
+
+MY_PN="${PN/-/_}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A PyTest plugin which provides an FTP fixture for your tests"
+HOMEPAGE="https://pypi.org/project/pytest-localserver/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+# Tests require python wget module, but not in Portage
+RESTRICT="test"
+
+RDEPEND="dev-python/pyftpdlib[${PYTHON_USEDEP}]"
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_P}"