mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Update to 2.9
- Use static pkg-plist - NOPORTDOCS should not apply to EXAMPLESDIR - portlint(1) fix - assign to python@ PR: ports/109445 Submitted by: Li-Wen Hsu <lwhsu_AT_lwhsu dot org>
This commit is contained in:
parent
9aac59fc2e
commit
38643694ea
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=185725
@ -7,39 +7,29 @@
|
||||
#
|
||||
|
||||
PORTNAME= imdbpy
|
||||
PORTVERSION= 2.8
|
||||
PORTVERSION= 2.9
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= SF
|
||||
DISTNAME= IMDbPY-${PORTVERSION}
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= IMDbPY-${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= python@FreeBSD.org
|
||||
COMMENT= Retrieve and manage the data of the IMDb movie database
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
WRKSRC= ${WRKDIR}/IMDbPY-${PORTVERSION}
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
||||
PORTDOCS= *
|
||||
.endif
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
||||
|
||||
post-install:
|
||||
@${FIND} ${PYTHON_SITELIBDIR}/imdb ! -type d | \
|
||||
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
|
||||
@${FIND} ${PYTHON_SITELIBDIR}/imdb -type d | ${SORT} -r | \
|
||||
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${CP} -R ${WRKSRC}/docs/ ${DOCSDIR}
|
||||
.endif
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
${CP} -R ${WRKSRC}/bin/ ${EXAMPLESDIR}
|
||||
@${FIND} ${EXAMPLESDIR} ! -type d | \
|
||||
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
|
||||
@${FIND} ${EXAMPLESDIR} -type d | ${SORT} -r | \
|
||||
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (IMDbPY-2.8.tar.gz) = 70c0f796314760e91a6194c8842023c0
|
||||
SHA256 (IMDbPY-2.8.tar.gz) = e8b0aa531e4a520bf09b5934265180a5954bddacb6b0c5959450b16d47f03547
|
||||
SIZE (IMDbPY-2.8.tar.gz) = 165514
|
||||
MD5 (IMDbPY-2.9.tar.gz) = b803a2d880cf7291017ff20f9d280946
|
||||
SHA256 (IMDbPY-2.9.tar.gz) = bb2ee377e310b6905abfb52f5a507a196c142771cdffc6fd294166adc2bfa521
|
||||
SIZE (IMDbPY-2.9.tar.gz) = 167179
|
||||
|
@ -5,3 +5,112 @@ bin/get_person.py
|
||||
bin/imdbpy2sql.py
|
||||
bin/search_movie.py
|
||||
bin/search_person.py
|
||||
%%PYTHON_SITELIBDIR%%/imdb/Movie.py
|
||||
%%PYTHON_SITELIBDIR%%/imdb/Movie.pyc
|
||||
%%PYTHON_SITELIBDIR%%/imdb/Movie.pyo
|
||||
%%PYTHON_SITELIBDIR%%/imdb/Person.py
|
||||
%%PYTHON_SITELIBDIR%%/imdb/Person.pyc
|
||||
%%PYTHON_SITELIBDIR%%/imdb/Person.pyo
|
||||
%%PYTHON_SITELIBDIR%%/imdb/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/imdb/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/imdb/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/imdb/_exceptions.py
|
||||
%%PYTHON_SITELIBDIR%%/imdb/_exceptions.pyc
|
||||
%%PYTHON_SITELIBDIR%%/imdb/_exceptions.pyo
|
||||
%%PYTHON_SITELIBDIR%%/imdb/helpers.py
|
||||
%%PYTHON_SITELIBDIR%%/imdb/helpers.pyc
|
||||
%%PYTHON_SITELIBDIR%%/imdb/helpers.pyo
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/common/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/common/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/common/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/common/cutils.so
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/common/locsql.py
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/common/locsql.pyc
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/common/locsql.pyo
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/http/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/http/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/http/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/http/movieParser.py
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/http/movieParser.pyc
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/http/movieParser.pyo
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/http/personParser.py
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/http/personParser.pyc
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/http/personParser.pyo
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/http/searchMovieParser.py
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/http/searchMovieParser.pyc
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/http/searchMovieParser.pyo
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/http/searchPersonParser.py
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/http/searchPersonParser.pyc
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/http/searchPersonParser.pyo
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/http/utils.py
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/http/utils.pyc
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/http/utils.pyo
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/local/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/local/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/local/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/local/movieParser.py
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/local/movieParser.pyc
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/local/movieParser.pyo
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/local/personParser.py
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/local/personParser.pyc
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/local/personParser.pyo
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/local/utils.py
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/local/utils.pyc
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/local/utils.pyo
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/mobile/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/mobile/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/mobile/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/sql/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/sql/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/sql/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/sql/dbschema.py
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/sql/dbschema.pyc
|
||||
%%PYTHON_SITELIBDIR%%/imdb/parser/sql/dbschema.pyo
|
||||
%%PYTHON_SITELIBDIR%%/imdb/utils.py
|
||||
%%PYTHON_SITELIBDIR%%/imdb/utils.pyc
|
||||
%%PYTHON_SITELIBDIR%%/imdb/utils.pyo
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/imdb/parser/sql
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/imdb/parser/mobile
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/imdb/parser/local
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/imdb/parser/http
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/imdb/parser/common
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/imdb/parser
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/imdb
|
||||
%%EXAMPLESDIR%%/get_first_movie.py
|
||||
%%EXAMPLESDIR%%/get_first_person.py
|
||||
%%EXAMPLESDIR%%/get_movie.py
|
||||
%%EXAMPLESDIR%%/get_person.py
|
||||
%%EXAMPLESDIR%%/imdbpy2sql.py
|
||||
%%EXAMPLESDIR%%/search_movie.py
|
||||
%%EXAMPLESDIR%%/search_person.py
|
||||
@dirrm %%EXAMPLESDIR%%
|
||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHOR.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTORS.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/CREDITS.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Changelog.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/DISCLAIMER.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/GPL.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/INSTALL.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.adult
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.devel
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.local
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.mobile
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.package
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.redesign
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.series
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.sqldb
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.users
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.utf8
|
||||
%%PORTDOCS%%%%DOCSDIR%%/TODO.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/imdbpyPowered.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/imdbpyico.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/imdbpyico.xpm
|
||||
%%PORTDOCS%%%%DOCSDIR%%/imdbpyico16x16.ico
|
||||
%%PORTDOCS%%%%DOCSDIR%%/imdbpyico32x32.ico
|
||||
%%PORTDOCS%%%%DOCSDIR%%/imdbpywin.bmp
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user