summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Hajdan <phajdan.jr@gentoo.org>2011-05-07 10:19:46 +0000
committerPaweł Hajdan <phajdan.jr@gentoo.org>2011-05-07 10:19:46 +0000
commit4521c12cf90894efafe7999295b80a473dacf69c (patch)
treea32b6cb5231e4c3b2b5467eb73ad90136123e311 /dev-python/pyftpdlib
parentVersion bum. Drop older. This release fixes annoying copying bug only. (diff)
downloadgentoo-2-4521c12cf90894efafe7999295b80a473dacf69c.tar.gz
gentoo-2-4521c12cf90894efafe7999295b80a473dacf69c.tar.bz2
gentoo-2-4521c12cf90894efafe7999295b80a473dacf69c.zip
Initial import, bug #354177. Ebuild uses parts submitted by Axel ETCHEVERRY <axel@etcheverry.biz>.
(Portage version: 2.1.9.42/cvs/Linux i686)
Diffstat (limited to 'dev-python/pyftpdlib')
-rw-r--r--dev-python/pyftpdlib/ChangeLog11
-rw-r--r--dev-python/pyftpdlib/metadata.xml9
-rw-r--r--dev-python/pyftpdlib/pyftpdlib-0.6.0.ebuild48
3 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/pyftpdlib/ChangeLog b/dev-python/pyftpdlib/ChangeLog
new file mode 100644
index 000000000000..8eb1dfee542d
--- /dev/null
+++ b/dev-python/pyftpdlib/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-python/pyftpdlib
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyftpdlib/ChangeLog,v 1.1 2011/05/07 10:19:46 phajdan.jr Exp $
+
+*pyftpdlib-0.6.0 (07 May 2011)
+
+ 07 May 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> +pyftpdlib-0.6.0.ebuild,
+ +metadata.xml:
+ Initial import, bug #354177. Ebuild uses parts submitted by Axel ETCHEVERRY
+ <axel@etcheverry.biz>.
+
diff --git a/dev-python/pyftpdlib/metadata.xml b/dev-python/pyftpdlib/metadata.xml
new file mode 100644
index 000000000000..e3dea2a4f9cf
--- /dev/null
+++ b/dev-python/pyftpdlib/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>python</herd>
+ <maintainer>
+ <email>phajdan.jr@gentoo.org</email>
+ <name>Pawel Hajdan jr</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-python/pyftpdlib/pyftpdlib-0.6.0.ebuild b/dev-python/pyftpdlib/pyftpdlib-0.6.0.ebuild
new file mode 100644
index 000000000000..618a73666fc7
--- /dev/null
+++ b/dev-python/pyftpdlib/pyftpdlib-0.6.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyftpdlib/pyftpdlib-0.6.0.ebuild,v 1.1 2011/05/07 10:19:46 phajdan.jr Exp $
+
+EAPI=3
+PYTHON_DEPEND="2"
+PYTHON_USE_WITH="ssl"
+PYTHON_USE_WITH_OPT="ssl"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit distutils
+
+DESCRIPTION="Python FTP server library"
+HOMEPAGE="http://code.google.com/p/pyftpdlib/ http://pypi.python.org/pypi/pyftpdlib"
+SRC_URI="http://pyftpdlib.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples ssl"
+
+DEPEND="ssl? (
+ dev-lang/python:2.7
+ dev-python/pyopenssl
+)"
+RDEPEND="${DEPEND}"
+
+DOCS="CREDITS HISTORY"
+
+src_test() {
+ testing() {
+ PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test/test_ftpd.py \
+ || return 1
+ PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test/test_contrib.py \
+ || return 1
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+ dohtml -r doc/* || die
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r demo test
+ fi
+}