diff options
author | lwhsu <lwhsu@FreeBSD.org> | 2012-06-29 01:57:19 +0800 |
---|---|---|
committer | lwhsu <lwhsu@FreeBSD.org> | 2012-06-29 01:57:19 +0800 |
commit | 6a6d63c945bfab4f0df3eb216661d52859fa91df (patch) | |
tree | e1b709af745fe8b587a0e24290845fa2e1f86647 /ftp/py-pyftpdlib | |
parent | aca9257c6afd557d4e9e15cf34b4a7ba711c8bb5 (diff) | |
download | freebsd-ports-gnome-6a6d63c945bfab4f0df3eb216661d52859fa91df.tar.gz freebsd-ports-gnome-6a6d63c945bfab4f0df3eb216661d52859fa91df.tar.zst freebsd-ports-gnome-6a6d63c945bfab4f0df3eb216661d52859fa91df.zip |
- Update to 0.7.0
- Remove LICENSE_FILE for well-known licenses
- Remove DOCSDIR and NOPORTDOCS checks - Not bundled by upstream anymore
- Update and sort pkg-plist
PR: ports/169102
Submitted by: koobs <koobs.freebsd@gmail.com>
Diffstat (limited to 'ftp/py-pyftpdlib')
-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 |