- Drop easy_install
- Pet portlint

PR:		ports/188881
Submitted by:	Bartek Rutkowski <ports@robakdesign.com>
This commit is contained in:
Li-Wen Hsu 2014-04-23 06:20:42 +00:00
parent 78400aac75
commit b23f0076c0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351914
3 changed files with 24 additions and 32 deletions

View file

@ -14,7 +14,7 @@ COMMENT= Python FTP server library
LICENSE= MIT
USE_PYTHON= 2
USE_PYDISTUTILS= easy_install
USE_PYDISTUTILS= yes
OPTIONS_DEFINE= SENDFILE OPENSSL
OPTIONS_DEFAULT= SENDFILE OPENSSL
@ -24,7 +24,6 @@ OPENSSL_DESC= Enable FTP over SSL/TLS (RFC4217)
# Workaround ports infrastructure bug
OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSENDFILE}
@ -39,8 +38,8 @@ EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
post-install:
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
${CP} -R ${WRKSRC}/demo/ ${EXAMPLESDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${CP} -R ${WRKSRC}/demo/ ${STAGEDIR}${EXAMPLESDIR}
.endif
test: build

View file

@ -3,4 +3,4 @@ write asynchronous FTP servers with Python. Based on asyncore / asynchat
frameworks pyftpdlib is actually the most complete RFC959 FTP server
implementation available for Python language.
WWW: http://code.google.com/p/pyftpdlib/
WWW: http://code.google.com/p/pyftpdlib/

View file

@ -1,26 +1,21 @@
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyftpdlib/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyftpdlib/__init__.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyftpdlib/__init__.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyftpdlib/contrib/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyftpdlib/contrib/__init__.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyftpdlib/contrib/__init__.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyftpdlib/contrib/authorizers.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyftpdlib/contrib/authorizers.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyftpdlib/contrib/authorizers.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyftpdlib/contrib/filesystems.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyftpdlib/contrib/filesystems.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyftpdlib/contrib/filesystems.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyftpdlib/contrib/handlers.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyftpdlib/contrib/handlers.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyftpdlib/contrib/handlers.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyftpdlib/ftpserver.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyftpdlib/ftpserver.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyftpdlib/ftpserver.pyo
%%PYTHON_SITELIBDIR%%/pyftpdlib/__init__.py
%%PYTHON_SITELIBDIR%%/pyftpdlib/__init__.pyc
%%PYTHON_SITELIBDIR%%/pyftpdlib/__init__.pyo
%%PYTHON_SITELIBDIR%%/pyftpdlib/contrib/__init__.py
%%PYTHON_SITELIBDIR%%/pyftpdlib/contrib/__init__.pyc
%%PYTHON_SITELIBDIR%%/pyftpdlib/contrib/__init__.pyo
%%PYTHON_SITELIBDIR%%/pyftpdlib/contrib/authorizers.py
%%PYTHON_SITELIBDIR%%/pyftpdlib/contrib/authorizers.pyc
%%PYTHON_SITELIBDIR%%/pyftpdlib/contrib/authorizers.pyo
%%PYTHON_SITELIBDIR%%/pyftpdlib/contrib/filesystems.py
%%PYTHON_SITELIBDIR%%/pyftpdlib/contrib/filesystems.pyc
%%PYTHON_SITELIBDIR%%/pyftpdlib/contrib/filesystems.pyo
%%PYTHON_SITELIBDIR%%/pyftpdlib/contrib/handlers.py
%%PYTHON_SITELIBDIR%%/pyftpdlib/contrib/handlers.pyc
%%PYTHON_SITELIBDIR%%/pyftpdlib/contrib/handlers.pyo
%%PYTHON_SITELIBDIR%%/pyftpdlib/ftpserver.py
%%PYTHON_SITELIBDIR%%/pyftpdlib/ftpserver.pyc
%%PYTHON_SITELIBDIR%%/pyftpdlib/ftpserver.pyo
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/anti_flood_ftpd.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/basic_ftpd.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/keycert.pem
@ -31,7 +26,5 @@
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/unix_ftpd.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/winnt_ftpd.py
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyftpdlib/contrib
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyftpdlib
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
@dirrm %%PYTHON_SITELIBDIR%%/pyftpdlib/contrib
@dirrm %%PYTHON_SITELIBDIR%%/pyftpdlib