diff options
author | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2012-06-28 17:57:19 +0000 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2012-06-28 17:57:19 +0000 |
commit | fc20563ac8b47f2208ed72b3e11a3cdd154ef682 (patch) | |
tree | 0ec82f4da2803ea690f627356fc173c9957a3e95 /ftp | |
parent | bed862e7d66e18d360de07d16f457df9be80e478 (diff) | |
download | ports-fc20563ac8b47f2208ed72b3e11a3cdd154ef682.tar.gz ports-fc20563ac8b47f2208ed72b3e11a3cdd154ef682.zip |
Notes
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/py-pyftpdlib/Makefile | 8 | ||||
-rw-r--r-- | ftp/py-pyftpdlib/distinfo | 4 | ||||
-rw-r--r-- | ftp/py-pyftpdlib/files/patch-setup.py | 14 | ||||
-rw-r--r-- | ftp/py-pyftpdlib/pkg-plist | 15 |
4 files changed, 20 insertions, 21 deletions
diff --git a/ftp/py-pyftpdlib/Makefile b/ftp/py-pyftpdlib/Makefile index 0e63ed9845c7..bc853c0a0a8b 100644 --- a/ftp/py-pyftpdlib/Makefile +++ b/ftp/py-pyftpdlib/Makefile @@ -6,7 +6,7 @@ # PORTNAME= pyftpdlib -PORTVERSION= 0.6.0 +PORTVERSION= 0.7.0 CATEGORIES= ftp python MASTER_SITES= GOOGLE_CODE PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -15,19 +15,13 @@ MAINTAINER= lwhsu@FreeBSD.org COMMENT= Python FTP server library LICENSE= MIT -LICENSE_FILE= ${WRKSRC}/LICENSE USE_PYTHON= yes USE_PYDISTUTILS= yes -DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${CP} -R ${WRKSRC}/doc/ ${DOCSDIR} -.endif .if !defined(NOPORTEXAMPLES) @${MKDIR} ${EXAMPLESDIR} ${CP} -R ${WRKSRC}/demo/ ${EXAMPLESDIR} diff --git a/ftp/py-pyftpdlib/distinfo b/ftp/py-pyftpdlib/distinfo index bdeeaa9b5c41..b26582ca0381 100644 --- a/ftp/py-pyftpdlib/distinfo +++ b/ftp/py-pyftpdlib/distinfo @@ -1,2 +1,2 @@ -SHA256 (pyftpdlib-0.6.0.tar.gz) = 547afb8bca676e508dbb15c42a9fd3f5af6bdc289781a4c22abd007f74e9936a -SIZE (pyftpdlib-0.6.0.tar.gz) = 128878 +SHA256 (pyftpdlib-0.7.0.tar.gz) = a11a4b6b5cffa7eab8fb48b24cc90777c21fbedb8873fa15c2231526df0596c6 +SIZE (pyftpdlib-0.7.0.tar.gz) = 94898 diff --git a/ftp/py-pyftpdlib/files/patch-setup.py b/ftp/py-pyftpdlib/files/patch-setup.py new file mode 100644 index 000000000000..d79d34fa39aa --- /dev/null +++ b/ftp/py-pyftpdlib/files/patch-setup.py @@ -0,0 +1,14 @@ +--- ./setup.py.orig 2012-06-15 22:18:19.000000000 +1000 ++++ ./setup.py 2012-06-15 22:18:34.000000000 +1000 +@@ -38,10 +38,7 @@ + + import os + import sys +-try: +- from setuptools import setup +-except ImportError: +- from distutils.core import setup ++from distutils.core import setup + + name = 'pyftpdlib' + version = '0.7.0' diff --git a/ftp/py-pyftpdlib/pkg-plist b/ftp/py-pyftpdlib/pkg-plist index 8291ac4d1ce6..1c3e5728f102 100644 --- a/ftp/py-pyftpdlib/pkg-plist +++ b/ftp/py-pyftpdlib/pkg-plist @@ -16,17 +16,7 @@ %%PYTHON_SITELIBDIR%%/pyftpdlib/ftpserver.py %%PYTHON_SITELIBDIR%%/pyftpdlib/ftpserver.pyc %%PYTHON_SITELIBDIR%%/pyftpdlib/ftpserver.pyo -@dirrm %%PYTHON_SITELIBDIR%%/pyftpdlib/contrib -@dirrm %%PYTHON_SITELIBDIR%%/pyftpdlib -%%PORTDOCS%%%%DOCSDIR%%/adoptions.lnk.html -%%PORTDOCS%%%%DOCSDIR%%/faq.html -%%PORTDOCS%%%%DOCSDIR%%/index.html -%%PORTDOCS%%%%DOCSDIR%%/install.html -%%PORTDOCS%%%%DOCSDIR%%/logo.png -%%PORTDOCS%%%%DOCSDIR%%/release-notes.html -%%PORTDOCS%%%%DOCSDIR%%/rfcs-compliance.html -%%PORTDOCS%%%%DOCSDIR%%/roadmap.lnk.html -%%PORTDOCS%%%%DOCSDIR%%/tutorial.html +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/anti_flood_ftpd.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/basic_ftpd.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/keycert.pem %%PORTEXAMPLES%%%%EXAMPLESDIR%%/md5_ftpd.py @@ -36,4 +26,5 @@ %%PORTEXAMPLES%%%%EXAMPLESDIR%%/unix_ftpd.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/winnt_ftpd.py %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm %%PYTHON_SITELIBDIR%%/pyftpdlib/contrib +@dirrm %%PYTHON_SITELIBDIR%%/pyftpdlib |