diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2006-12-27 15:05:59 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2006-12-27 15:05:59 +0000 |
commit | efed615cc583e737817881ced600feef121fed4b (patch) | |
tree | 6a60ba8d20524ec3df4086ef4c611944948a7535 | |
parent | bcd6673314d5693a1b01e41deee2473cd81677fd (diff) | |
download | ports-efed615cc583e737817881ced600feef121fed4b.tar.gz ports-efed615cc583e737817881ced600feef121fed4b.zip |
Notes
-rw-r--r-- | ftp/Makefile | 1 | ||||
-rw-r--r-- | ftp/py-ftputil/Makefile | 40 | ||||
-rw-r--r-- | ftp/py-ftputil/distinfo | 3 | ||||
-rw-r--r-- | ftp/py-ftputil/files/patch-setup.py | 11 | ||||
-rw-r--r-- | ftp/py-ftputil/pkg-descr | 9 | ||||
-rw-r--r-- | ftp/py-ftputil/pkg-plist | 52 |
6 files changed, 116 insertions, 0 deletions
diff --git a/ftp/Makefile b/ftp/Makefile index 9c26981c844e..e86962085781 100644 --- a/ftp/Makefile +++ b/ftp/Makefile @@ -91,6 +91,7 @@ SUBDIR += pure-ftpd SUBDIR += pureadmin SUBDIR += py-curl + SUBDIR += py-ftputil SUBDIR += quftp SUBDIR += rexx-curl SUBDIR += smbftpd diff --git a/ftp/py-ftputil/Makefile b/ftp/py-ftputil/Makefile new file mode 100644 index 000000000000..d08fd64c0959 --- /dev/null +++ b/ftp/py-ftputil/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: py-ftputil +# Date created: 2006-12-25 +# Whom: Li-Wen Hsu <lwhsu@lwhsu.org> +# +# $FreeBSD$ +# + +PORTNAME= ftputil +PORTVERSION= 2.2 +CATEGORIES= ftp python +MASTER_SITES= # http://ftputil.sschwarzer.net/trac/attachment/wiki/Download/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= lwhsu@lwhsu.org +COMMENT= High-level FTP client library + +USE_PYTHON= yes +USE_PYDISTUTILS= yes + +.if !defined(NOPORTDOCS) +DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} +PORTDOC_FILES= README.html README.txt ftputil.html ftputil.txt ftputil_ru_utf8.txt +.endif + +.include <bsd.port.pre.mk> + +do-fetch: +.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) + ${FETCH_CMD} -o "${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}" "http://ftputil.sschwarzer.net/trac/attachment/wiki/Download/ftputil-2.2.tar.gz?format=raw" +.endif + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for i in ${PORTDOC_FILES} + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.post.mk> diff --git a/ftp/py-ftputil/distinfo b/ftp/py-ftputil/distinfo new file mode 100644 index 000000000000..c73c0210aeec --- /dev/null +++ b/ftp/py-ftputil/distinfo @@ -0,0 +1,3 @@ +MD5 (ftputil-2.2.tar.gz) = 9b19a93449bd85a387677f7596bdffd9 +SHA256 (ftputil-2.2.tar.gz) = 1eb8d6fb6c2940f68435453581a2ae06798e708840208b865c7814c5d69dd467 +SIZE (ftputil-2.2.tar.gz) = 83520 diff --git a/ftp/py-ftputil/files/patch-setup.py b/ftp/py-ftputil/files/patch-setup.py new file mode 100644 index 000000000000..9cbf7b22d4d5 --- /dev/null +++ b/ftp/py-ftputil/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig Mon Dec 25 09:20:34 2006 ++++ setup.py Mon Dec 25 09:20:44 2006 +@@ -54,8 +54,6 @@ + version=_version, + packages=[_package], + package_dir={_package: ""}, +- data_files=[(_data_target, ["ftputil.txt", "ftputil.html", +- "README.txt", "README.html"])], + # metadata + author="Stefan Schwarzer", + author_email="sschwarzer@sschwarzer.net", diff --git a/ftp/py-ftputil/pkg-descr b/ftp/py-ftputil/pkg-descr new file mode 100644 index 000000000000..fb63551753be --- /dev/null +++ b/ftp/py-ftputil/pkg-descr @@ -0,0 +1,9 @@ +ftputil is a high-level FTP client library for the Python programming language. + +ftputil implements a virtual file system for accessing FTP servers, that is, +it can generate file-like objects for remote files. The library supports many +functions similar to those in the os, os.path and shutil modules. ftputil has +convenience functions for conditional uploads and downloads, and handles FTP +clients and servers in different timezones. + +WWW: http://ftputil.sschwarzer.net/ diff --git a/ftp/py-ftputil/pkg-plist b/ftp/py-ftputil/pkg-plist new file mode 100644 index 000000000000..570efa2cdb34 --- /dev/null +++ b/ftp/py-ftputil/pkg-plist @@ -0,0 +1,52 @@ +%%PYTHON_SITELIBDIR%%/ftputil/__init__.py +%%PYTHON_SITELIBDIR%%/ftputil/__init__.pyc +%%PYTHON_SITELIBDIR%%/ftputil/__init__.pyo +%%PYTHON_SITELIBDIR%%/ftputil/_mock_ftplib.py +%%PYTHON_SITELIBDIR%%/ftputil/_mock_ftplib.pyc +%%PYTHON_SITELIBDIR%%/ftputil/_mock_ftplib.pyo +%%PYTHON_SITELIBDIR%%/ftputil/_test_base.py +%%PYTHON_SITELIBDIR%%/ftputil/_test_base.pyc +%%PYTHON_SITELIBDIR%%/ftputil/_test_base.pyo +%%PYTHON_SITELIBDIR%%/ftputil/_test_ftp_path.py +%%PYTHON_SITELIBDIR%%/ftputil/_test_ftp_path.pyc +%%PYTHON_SITELIBDIR%%/ftputil/_test_ftp_path.pyo +%%PYTHON_SITELIBDIR%%/ftputil/_test_ftp_stat.py +%%PYTHON_SITELIBDIR%%/ftputil/_test_ftp_stat.pyc +%%PYTHON_SITELIBDIR%%/ftputil/_test_ftp_stat.pyo +%%PYTHON_SITELIBDIR%%/ftputil/_test_ftp_stat_cache.py +%%PYTHON_SITELIBDIR%%/ftputil/_test_ftp_stat_cache.pyc +%%PYTHON_SITELIBDIR%%/ftputil/_test_ftp_stat_cache.pyo +%%PYTHON_SITELIBDIR%%/ftputil/_test_ftputil.py +%%PYTHON_SITELIBDIR%%/ftputil/_test_ftputil.pyc +%%PYTHON_SITELIBDIR%%/ftputil/_test_ftputil.pyo +%%PYTHON_SITELIBDIR%%/ftputil/ftp_error.py +%%PYTHON_SITELIBDIR%%/ftputil/ftp_error.pyc +%%PYTHON_SITELIBDIR%%/ftputil/ftp_error.pyo +%%PYTHON_SITELIBDIR%%/ftputil/ftp_file.py +%%PYTHON_SITELIBDIR%%/ftputil/ftp_file.pyc +%%PYTHON_SITELIBDIR%%/ftputil/ftp_file.pyo +%%PYTHON_SITELIBDIR%%/ftputil/ftp_path.py +%%PYTHON_SITELIBDIR%%/ftputil/ftp_path.pyc +%%PYTHON_SITELIBDIR%%/ftputil/ftp_path.pyo +%%PYTHON_SITELIBDIR%%/ftputil/ftp_stat.py +%%PYTHON_SITELIBDIR%%/ftputil/ftp_stat.pyc +%%PYTHON_SITELIBDIR%%/ftputil/ftp_stat.pyo +%%PYTHON_SITELIBDIR%%/ftputil/ftp_stat_cache.py +%%PYTHON_SITELIBDIR%%/ftputil/ftp_stat_cache.pyc +%%PYTHON_SITELIBDIR%%/ftputil/ftp_stat_cache.pyo +%%PYTHON_SITELIBDIR%%/ftputil/ftputil.py +%%PYTHON_SITELIBDIR%%/ftputil/ftputil.pyc +%%PYTHON_SITELIBDIR%%/ftputil/ftputil.pyo +%%PYTHON_SITELIBDIR%%/ftputil/ftputil_version.py +%%PYTHON_SITELIBDIR%%/ftputil/ftputil_version.pyc +%%PYTHON_SITELIBDIR%%/ftputil/ftputil_version.pyo +%%PYTHON_SITELIBDIR%%/ftputil/lrucache.py +%%PYTHON_SITELIBDIR%%/ftputil/lrucache.pyc +%%PYTHON_SITELIBDIR%%/ftputil/lrucache.pyo +@dirrm %%PYTHON_SITELIBDIR%%/ftputil +%%PORTDOCS%%%%DOCSDIR%%/README.html +%%PORTDOCS%%%%DOCSDIR%%/README.txt +%%PORTDOCS%%%%DOCSDIR%%/ftputil.html +%%PORTDOCS%%%%DOCSDIR%%/ftputil.txt +%%PORTDOCS%%%%DOCSDIR%%/ftputil_ru_utf8.txt +%%PORTDOCS%%@dirrm %%DOCSDIR%% |