From 1cba339f8ce22817eb452b8f4841ef2d8f61510e Mon Sep 17 00:00:00 2001 From: Xavier Santolaria Date: Fri, 7 May 2004 14:14:06 +0000 Subject: [PATCH] Import of py-imdb-1.2 IMDbPY aims to provide an easy way to access the IMDb's database using a Python script. Platform-independent and written in pure Python, it's theoretically independent from the data source (since IMDb provides two or three different interfaces to their database). ok sturm@. --- misc/py-imdb/Makefile | 43 ++++++++++++++++++++++++++++++++++++++++++ misc/py-imdb/distinfo | 3 +++ misc/py-imdb/pkg/DESCR | 4 ++++ misc/py-imdb/pkg/PLIST | 40 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 90 insertions(+) create mode 100644 misc/py-imdb/Makefile create mode 100644 misc/py-imdb/distinfo create mode 100644 misc/py-imdb/pkg/DESCR create mode 100644 misc/py-imdb/pkg/PLIST diff --git a/misc/py-imdb/Makefile b/misc/py-imdb/Makefile new file mode 100644 index 0000000000..fc6d4ab83e --- /dev/null +++ b/misc/py-imdb/Makefile @@ -0,0 +1,43 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2004/05/07 14:14:06 xsa Exp $ + +COMMENT= "Python package to retrieve data of the IMDb movie database" + +V= 1.2 +DISTNAME= imdbpy-${V} +PKGNAME= py-imdb-${V} +CATEGORIES= misc + +HOMEPAGE= http://imdbpy.sourceforge.net/ + +MAINTAINER= Xavier Santolaria + +# GPL +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=imdbpy/} + +MODULES= python + +WRKDIST= ${WRKDIR}/IMDbPY-${V} + +DOCDIR= ${PREFIX}/share/doc/py-imdb +EXAMPLESDIR= ${PREFIX}/share/examples/py-imdb + +TESTS= test_imdb.py test_movie.py test_person.py test_utils.py + +post-install: + ${INSTALL_DATA_DIR} ${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/README* ${DOCDIR} + ${INSTALL_DATA_DIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/bin/* ${EXAMPLESDIR} + +do-regress: fake +.for t in ${TESTS} + @cd ${WRKSRC}/test && ${MAKE_ENV} \ + PYTHONPATH=${WRKINST}${MODPY_SITEPKG} ${MODPY_BIN} ./${t} +.endfor + +.include diff --git a/misc/py-imdb/distinfo b/misc/py-imdb/distinfo new file mode 100644 index 0000000000..2c4b84edf1 --- /dev/null +++ b/misc/py-imdb/distinfo @@ -0,0 +1,3 @@ +MD5 (imdbpy-1.2.tar.gz) = 0dfd175efa468926fd2753cf2130de5d +RMD160 (imdbpy-1.2.tar.gz) = 06c228a9834b1817e24d2bce5abbd60c1ddcd7d1 +SHA1 (imdbpy-1.2.tar.gz) = ca09f719b9949489f18663fd3457c9ea361cfb1f diff --git a/misc/py-imdb/pkg/DESCR b/misc/py-imdb/pkg/DESCR new file mode 100644 index 0000000000..cdf4d1bb98 --- /dev/null +++ b/misc/py-imdb/pkg/DESCR @@ -0,0 +1,4 @@ +IMDbPY aims to provide an easy way to access the IMDb's database using a +Python script. Platform-independent and written in pure Python, it's +theoretically independent from the data source (since IMDb provides two +or three different interfaces to their database). diff --git a/misc/py-imdb/pkg/PLIST b/misc/py-imdb/pkg/PLIST new file mode 100644 index 0000000000..72dd1e64bc --- /dev/null +++ b/misc/py-imdb/pkg/PLIST @@ -0,0 +1,40 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2004/05/07 14:14:06 xsa Exp $ +lib/python${MODPY_VERSION}/site-packages/imdb/Movie.py +lib/python${MODPY_VERSION}/site-packages/imdb/Movie.pyc +lib/python${MODPY_VERSION}/site-packages/imdb/Person.py +lib/python${MODPY_VERSION}/site-packages/imdb/Person.pyc +lib/python${MODPY_VERSION}/site-packages/imdb/__init__.py +lib/python${MODPY_VERSION}/site-packages/imdb/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/imdb/_exceptions.py +lib/python${MODPY_VERSION}/site-packages/imdb/_exceptions.pyc +lib/python${MODPY_VERSION}/site-packages/imdb/parser/__init__.py +lib/python${MODPY_VERSION}/site-packages/imdb/parser/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/__init__.py +lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/movieParser.py +lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/movieParser.pyc +lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/personParser.py +lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/personParser.pyc +lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/searchMovieParser.py +lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/searchMovieParser.pyc +lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/searchPersonParser.py +lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/searchPersonParser.pyc +lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/utils.py +lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/utils.pyc +lib/python${MODPY_VERSION}/site-packages/imdb/utils.py +lib/python${MODPY_VERSION}/site-packages/imdb/utils.pyc +share/doc/py-imdb/README.devel +share/doc/py-imdb/README.package +share/doc/py-imdb/README.txt +share/doc/py-imdb/README.users +share/examples/py-imdb/get_first_movie +share/examples/py-imdb/get_first_person +share/examples/py-imdb/get_movie +share/examples/py-imdb/get_person +share/examples/py-imdb/search_movie +share/examples/py-imdb/search_person +@dirrm share/examples/py-imdb +@dirrm share/doc/py-imdb +@dirrm lib/python${MODPY_VERSION}/site-packages/imdb/parser/http +@dirrm lib/python${MODPY_VERSION}/site-packages/imdb/parser +@dirrm lib/python${MODPY_VERSION}/site-packages/imdb