Existing version (3.6) no longer functions due to imdb changes. I left the scripts in bin alone this time.
- todd Index: misc/py-imdb/Makefile =================================================================== RCS file: /home/cvs/openbsd/ports/misc/py-imdb/Makefile,v retrieving revision 1.18 diff -u -r1.18 Makefile --- misc/py-imdb/Makefile 30 Aug 2010 17:11:35 -0000 1.18 +++ misc/py-imdb/Makefile 14 Sep 2010 18:29:58 -0000 @@ -1,31 +1,32 @@ # $OpenBSD: Makefile,v 1.18 2010/08/30 17:11:35 fgsch Exp $ -COMMENT= Python package to retrieve data of the IMDb movie database +COMMENT = python package to retrieve data of the IMDb movie database -MODPY_EGG_VERSION=3.6 -DISTNAME= IMDbPY-${MODPY_EGG_VERSION} -PKGNAME= py-imdb-${MODPY_EGG_VERSION} -REVISION = 3 -CATEGORIES= misc +MODPY_EGG_VERSION = 4.6 +DISTNAME = IMDbPY-${MODPY_EGG_VERSION} +PKGNAME = py-imdb-${MODPY_EGG_VERSION} +CATEGORIES = misc -HOMEPAGE= http://imdbpy.sourceforge.net/ +HOMEPAGE = http://imdbpy.sourceforge.net/ -MAINTAINER= Todd C. Miller <mill...@openbsd.org> +MAINTAINER = Todd C. Miller <mill...@openbsd.org> # GPL -PERMIT_PACKAGE_CDROM= Yes -PERMIT_PACKAGE_FTP= Yes -PERMIT_DISTFILES_CDROM= Yes -PERMIT_DISTFILES_FTP= Yes +PERMIT_PACKAGE_CDROM = Yes +PERMIT_PACKAGE_FTP = Yes +PERMIT_DISTFILES_CDROM = Yes +PERMIT_DISTFILES_FTP = Yes -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=imdbpy/} +MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=imdbpy/} -MODULES= lang/python +MODULES = lang/python -NO_REGRESS= Yes +RUN_DEPENDS = ::textproc/py-lxml -DOCSDIR= ${PREFIX}/share/doc/py-imdb -EXAMPLESDIR= ${PREFIX}/share/examples/py-imdb +NO_REGRESS = Yes + +DOCSDIR = ${PREFIX}/share/doc/py-imdb +EXAMPLESDIR = ${PREFIX}/share/examples/py-imdb post-install: ${INSTALL_DATA_DIR} ${DOCSDIR} Index: misc/py-imdb/distinfo =================================================================== RCS file: /home/cvs/openbsd/ports/misc/py-imdb/distinfo,v retrieving revision 1.12 diff -u -r1.12 distinfo --- misc/py-imdb/distinfo 21 Jun 2008 19:39:04 -0000 1.12 +++ misc/py-imdb/distinfo 14 Sep 2010 16:56:16 -0000 @@ -1,5 +1,5 @@ -MD5 (IMDbPY-3.6.tar.gz) = fvx+0y1V+65ZXPoapwbLxg== -RMD160 (IMDbPY-3.6.tar.gz) = l7Se929Pi9vPIgkT65fivuBEpzA= -SHA1 (IMDbPY-3.6.tar.gz) = xLBZYzotzwemyW6bUphrXCbPFgU= -SHA256 (IMDbPY-3.6.tar.gz) = 5xoiffvQmIg3HcHN0uuMAFsb62rK1a0xl3O8ZyDPBGM= -SIZE (IMDbPY-3.6.tar.gz) = 211626 +MD5 (IMDbPY-4.6.tar.gz) = h21M0EH6I2M+NjfCK/lWIg== +RMD160 (IMDbPY-4.6.tar.gz) = 1d77NVbvfMCYiArRCngJVWWIwbg= +SHA1 (IMDbPY-4.6.tar.gz) = asUsmPqG1aRXlH3I4w/t9eIY/6o= +SHA256 (IMDbPY-4.6.tar.gz) = XiKHbPIr+ZNGVPQizznZjPc2z0txt3cuK+DBfhIlrY0= +SIZE (IMDbPY-4.6.tar.gz) = 295677 Index: misc/py-imdb/patches/patch-setup_py =================================================================== RCS file: misc/py-imdb/patches/patch-setup_py diff -N misc/py-imdb/patches/patch-setup_py --- misc/py-imdb/patches/patch-setup_py 25 Mar 2005 09:22:41 -0000 1.4 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,13 +0,0 @@ -$OpenBSD: patch-setup_py,v 1.4 2005/03/25 09:22:41 xsa Exp $ ---- setup.py.orig Thu Mar 24 17:14:44 2005 -+++ setup.py Fri Mar 25 10:10:41 2005 -@@ -19,7 +19,8 @@ from distutils.core import setup, Extens - # interface to the web database is always available. - DO_LOCAL = 1 - # Install some very simple example scripts. --DO_SCRIPTS = 1 -+#DO_SCRIPTS = 1 -+DO_SCRIPTS = 0 - - - # --- NOTHING TO CONFIGURE BELOW. Index: misc/py-imdb/pkg/PLIST =================================================================== RCS file: /home/cvs/openbsd/ports/misc/py-imdb/pkg/PLIST,v retrieving revision 1.10 diff -u -r1.10 PLIST --- misc/py-imdb/pkg/PLIST 11 Oct 2009 20:52:26 -0000 1.10 +++ misc/py-imdb/pkg/PLIST 14 Sep 2010 17:09:19 -0000 @@ -1,10 +1,83 @@ @comment $OpenBSD: PLIST,v 1.10 2009/10/11 20:52:26 jasper Exp $ -...@comment bin/characters4local.py -...@comment bin/companies4local.py -...@comment bin/imdbpy2sql.py -...@comment bin/misc-companies4local.py -...@comment bin/mpaa4local.py -lib/python${MODPY_VERSION}/site-packages/IMDbPY-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info +bin/get_character.py +bin/get_company.py +bin/get_first_character.py +bin/get_first_company.py +bin/get_first_movie.py +bin/get_first_person.py +bin/get_keyword.py +bin/get_movie.py +bin/get_person.py +bin/get_top_bottom_movies.py +bin/imdbpy2sql.py +bin/search_character.py +bin/search_company.py +bin/search_keyword.py +bin/search_movie.py +bin/search_person.py +doc/ +doc/AUTHOR.txt +doc/CONTRIBUTORS.txt +doc/CREDITS.txt +doc/Changelog.txt +doc/DISCLAIMER.txt +doc/FAQS.txt +doc/GPL.txt +doc/INSTALL.txt +doc/LICENSE.txt +doc/README.adult +doc/README.companies +doc/README.currentRole +doc/README.devel +doc/README.info2xml +doc/README.keywords +doc/README.local +doc/README.locale +doc/README.logging +doc/README.mobile +doc/README.newparsers +doc/README.package +doc/README.redesign +doc/README.series +doc/README.sqldb +doc/README.txt +doc/README.users +doc/README.utf8 +doc/TODO.txt +doc/applydiffs.sh +doc/imdbpy.cfg +doc/imdbpy46.dtd +doc/imdbpyPowered.png +doc/imdbpyico.png +doc/imdbpyico.xpm +doc/imdbpyico16x16.ico +doc/imdbpyico32x32.ico +doc/imdbpywin.bmp +doc/reduce.sh +etc/ +etc/imdbpy.cfg +imdb/ +imdb/locale/ +imdb/locale/en/ +imdb/locale/en/LC_MESSAGES/ +imdb/locale/en/LC_MESSAGES/imdbpy.mo +imdb/locale/imdbpy-en.po +imdb/locale/imdbpy-it.po +imdb/locale/imdbpy-tr.po +imdb/locale/imdbpy.pot +imdb/locale/it/ +imdb/locale/it/LC_MESSAGES/ +imdb/locale/it/LC_MESSAGES/imdbpy.mo +imdb/locale/tr/ +imdb/locale/tr/LC_MESSAGES/ +imdb/locale/tr/LC_MESSAGES/imdbpy.mo +lib/python${MODPY_VERSION}/site-packages/IMDbPY-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/ +lib/python${MODPY_VERSION}/site-packages/IMDbPY-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO +lib/python${MODPY_VERSION}/site-packages/IMDbPY-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt +lib/python${MODPY_VERSION}/site-packages/IMDbPY-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt +lib/python${MODPY_VERSION}/site-packages/IMDbPY-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/not-zip-safe +lib/python${MODPY_VERSION}/site-packages/IMDbPY-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt +lib/python${MODPY_VERSION}/site-packages/IMDbPY-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt lib/python${MODPY_VERSION}/site-packages/imdb/ lib/python${MODPY_VERSION}/site-packages/imdb/Character.py lib/python${MODPY_VERSION}/site-packages/imdb/Character.pyc @@ -20,20 +93,38 @@ lib/python${MODPY_VERSION}/site-packages/imdb/_compat.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/_logging.py +lib/python${MODPY_VERSION}/site-packages/imdb/_logging.pyc +lib/python${MODPY_VERSION}/site-packages/imdb/articles.py +lib/python${MODPY_VERSION}/site-packages/imdb/articles.pyc lib/python${MODPY_VERSION}/site-packages/imdb/helpers.py lib/python${MODPY_VERSION}/site-packages/imdb/helpers.pyc +lib/python${MODPY_VERSION}/site-packages/imdb/locale/ +lib/python${MODPY_VERSION}/site-packages/imdb/locale/__init__.py +lib/python${MODPY_VERSION}/site-packages/imdb/locale/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/imdb/locale/generatepot.py +lib/python${MODPY_VERSION}/site-packages/imdb/locale/generatepot.pyc +lib/python${MODPY_VERSION}/site-packages/imdb/locale/msgfmt.py +lib/python${MODPY_VERSION}/site-packages/imdb/locale/msgfmt.pyc +lib/python${MODPY_VERSION}/site-packages/imdb/locale/rebuildmo.py +lib/python${MODPY_VERSION}/site-packages/imdb/locale/rebuildmo.pyc lib/python${MODPY_VERSION}/site-packages/imdb/parser/ 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/common/ -lib/python${MODPY_VERSION}/site-packages/imdb/parser/common/__init__.py -lib/python${MODPY_VERSION}/site-packages/imdb/parser/common/__init__.pyc -lib/python${MODPY_VERSION}/site-packages/imdb/parser/common/cutils.so -lib/python${MODPY_VERSION}/site-packages/imdb/parser/common/locsql.py -lib/python${MODPY_VERSION}/site-packages/imdb/parser/common/locsql.pyc lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/ 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/bsouplxml/ +lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/bsouplxml/__init__.py +lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/bsouplxml/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/bsouplxml/_bsoup.py +lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/bsouplxml/_bsoup.pyc +lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/bsouplxml/bsoupxpath.py +lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/bsouplxml/bsoupxpath.pyc +lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/bsouplxml/etree.py +lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/bsouplxml/etree.pyc +lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/bsouplxml/html.py +lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/bsouplxml/html.pyc lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/characterParser.py lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/characterParser.pyc lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/companyParser.py @@ -46,33 +137,29 @@ lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/searchCharacterParser.pyc lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/searchCompanyParser.py lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/searchCompanyParser.pyc +lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/searchKeywordParser.py +lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/searchKeywordParser.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/topBottomParser.py +lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/topBottomParser.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/parser/local/ -lib/python${MODPY_VERSION}/site-packages/imdb/parser/local/__init__.py -lib/python${MODPY_VERSION}/site-packages/imdb/parser/local/__init__.pyc -lib/python${MODPY_VERSION}/site-packages/imdb/parser/local/characterParser.py -lib/python${MODPY_VERSION}/site-packages/imdb/parser/local/characterParser.pyc -lib/python${MODPY_VERSION}/site-packages/imdb/parser/local/companyParser.py -lib/python${MODPY_VERSION}/site-packages/imdb/parser/local/companyParser.pyc -lib/python${MODPY_VERSION}/site-packages/imdb/parser/local/movieParser.py -lib/python${MODPY_VERSION}/site-packages/imdb/parser/local/movieParser.pyc -lib/python${MODPY_VERSION}/site-packages/imdb/parser/local/personParser.py -lib/python${MODPY_VERSION}/site-packages/imdb/parser/local/personParser.pyc -lib/python${MODPY_VERSION}/site-packages/imdb/parser/local/utils.py -lib/python${MODPY_VERSION}/site-packages/imdb/parser/local/utils.pyc lib/python${MODPY_VERSION}/site-packages/imdb/parser/mobile/ lib/python${MODPY_VERSION}/site-packages/imdb/parser/mobile/__init__.py lib/python${MODPY_VERSION}/site-packages/imdb/parser/mobile/__init__.pyc lib/python${MODPY_VERSION}/site-packages/imdb/parser/sql/ lib/python${MODPY_VERSION}/site-packages/imdb/parser/sql/__init__.py lib/python${MODPY_VERSION}/site-packages/imdb/parser/sql/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/imdb/parser/sql/alchemyadapter.py +lib/python${MODPY_VERSION}/site-packages/imdb/parser/sql/alchemyadapter.pyc +lib/python${MODPY_VERSION}/site-packages/imdb/parser/sql/cutils.so lib/python${MODPY_VERSION}/site-packages/imdb/parser/sql/dbschema.py lib/python${MODPY_VERSION}/site-packages/imdb/parser/sql/dbschema.pyc +lib/python${MODPY_VERSION}/site-packages/imdb/parser/sql/objectadapter.py +lib/python${MODPY_VERSION}/site-packages/imdb/parser/sql/objectadapter.pyc lib/python${MODPY_VERSION}/site-packages/imdb/utils.py lib/python${MODPY_VERSION}/site-packages/imdb/utils.pyc share/doc/py-imdb/ @@ -80,8 +167,13 @@ share/doc/py-imdb/README.companies share/doc/py-imdb/README.currentRole share/doc/py-imdb/README.devel +share/doc/py-imdb/README.info2xml +share/doc/py-imdb/README.keywords share/doc/py-imdb/README.local +share/doc/py-imdb/README.locale +share/doc/py-imdb/README.logging share/doc/py-imdb/README.mobile +share/doc/py-imdb/README.newparsers share/doc/py-imdb/README.package share/doc/py-imdb/README.redesign share/doc/py-imdb/README.series @@ -90,20 +182,19 @@ share/doc/py-imdb/README.users share/doc/py-imdb/README.utf8 share/examples/py-imdb/ -share/examples/py-imdb/characters4local.py -share/examples/py-imdb/companies4local.py share/examples/py-imdb/get_character.py share/examples/py-imdb/get_company.py share/examples/py-imdb/get_first_character.py share/examples/py-imdb/get_first_company.py share/examples/py-imdb/get_first_movie.py share/examples/py-imdb/get_first_person.py +share/examples/py-imdb/get_keyword.py share/examples/py-imdb/get_movie.py share/examples/py-imdb/get_person.py +share/examples/py-imdb/get_top_bottom_movies.py share/examples/py-imdb/imdbpy2sql.py -share/examples/py-imdb/misc-companies4local.py -share/examples/py-imdb/mpaa4local.py share/examples/py-imdb/search_character.py share/examples/py-imdb/search_company.py +share/examples/py-imdb/search_keyword.py share/examples/py-imdb/search_movie.py share/examples/py-imdb/search_person.py