...
 
Commits (8)
IMDdPY for Debian
-----------------
This package installs just the imdbpy python modules. The source code includes
some examples that upstream author made with the goal of be executables, but
since these scripts need a little setup about how to access to IMDb data, i
decided it was better not install it directly.
Please, read upstream's README.txt file to learn how to make this setup.
You can make all the necessary changes editing the py files placed at:
/usr/share/doc/python2.X-imdbpy/examples/
And after this, make a symbolic link, for example:
ln -s /usr/share/doc/python-imdbpy/examples/get_first_movie.py /usr/bin/get_first_movie
Besides, if you want to use a local copy of the whole IMDb's database,
read the "README.local" file. Or if you want to insert the content of the plain text
data files into a SQL database, read the "README.sqldb" file.
imdbpy2sql.py is somewhat different: it's not an example, but a script
required to put the plain text data files in the MySQL database. You can find
it gzippped in the 'example' directory.
-- Ana Beatriz Guerrero Lopez <ana@ekaia.org>, Sun, 2 Apr 2006 22:42:30 +0200
config file
-----------
The configuration file imdbpy.cfg is shipped at
/usr/share/doc/python-imdbpy/imdbpy.cfg.
For more information about this file, read the file itself.
-- Ana Beatriz Guerrero Lopez <ana@debian.org>, Sun, 16 Dec 2007 17:21:48 +0100
sql support
-----------
If you want to use the 'sql' data access system, you will need to install
SQLObject or SQLAlchemy. Packaged as python-sqlobject and python-sqlalchemy,
both suggested in Suggests.
-- Ana Beatriz Guerrero Lopez <ana@debian.org>, Thu, 11 Dec 2008 02:46:30 +0100
imdbpy (6.6-1) unstable; urgency=medium
* New upstream release. IMDbPY is only Python 3 now:
- Remove python-imdbpy and add python3-imdbpy
- Adjust build-deps and deps
- Package is now arch:all
- Update patches, remove no_install_doc_or_stuff_in_etc and
add do_not_install_scripts. And continue not installing scripts
under usr/bin/
* Update Vcs-* fields to point to salsa.
* Update S-V to 4.2.1, no changes required.
* Update to dh 11.
* Update debian/copyright.
* Update debian/watch.
-- Ana Beatriz Guerrero Lopez <ana@debian.org> Sun, 09 Sep 2018 16:19:35 +0200
imdbpy (5.1-1) unstable; urgency=medium
* New upstream release:
......
......@@ -2,21 +2,22 @@ Source: imdbpy
Section: python
Priority: optional
Maintainer: Ana Beatriz Guerrero Lopez <ana@debian.org>
Build-Depends: debhelper (>= 9),
Build-Depends: debhelper (>= 11),
dh-python,
python-all-dev (>= 2.6.6-3~),
python-setuptools
Standards-Version: 3.9.8
python3,
python3-setuptools,
python3-sphinx,
Standards-Version: 4.2.1
Homepage: http://imdbpy.sourceforge.net
Vcs-Git: https://anonscm.debian.org/git/users/ana/imdbpy.git
Vcs-Browser: https://anonscm.debian.org/git/users/ana/imdbpy.git
Vcs-Git: https://salsa.debian.org/ana/imdbpy.git
Vcs-Browser: https://salsa.debian.org/ana/imdbpy
Package: python-imdbpy
Architecture: any
Depends: python, ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}
Recommends: python-lxml
Suggests: python-sqlalchemy, python-sqlobject
Description: Python package to access the IMDb's movie database
Package: python3-imdbpy
Architecture: all
Depends: python3, ${misc:Depends}, ${shlibs:Depends}
Recommends: python3-lxml
Suggests: python3-sqlalchemy, python3-sqlobject
Description: Python package to access the IMDb's movie database (Python 3)
IMDbPY is a Python package useful to retrieve and manage the data of
the IMDb movie database about both movies and people.
It can be very easily used by programmers and developers to provide
......
......@@ -5,8 +5,8 @@ It was downloaded from http://imdbpy.sourceforge.net/
Upstream author: Davide Alberani <da@erlug.linux.it>
Copyright © 2004-2016 Davide Alberani
© 2008 H. Turgut Uyar <uyar@tekir.org>
Copyright © 2004-2018 Davide Alberani <da@erlug.linux.it>
© 2008-2017 H. Turgut Uyar <uyar@tekir.org>
License:
......@@ -25,7 +25,7 @@ License:
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
On Debian systems, the complete text of the GNU General Public License
can be found in `/usr/share/common-licenses/GPL'.
can be found in `/usr/share/common-licenses/GPL-2'.
AUTHOR'S DISCLAIMER
......@@ -38,11 +38,11 @@ and data included on the IMDb's site is the property of IMDb or its
content suppliers and protected by United States and international
copyright laws.
Please, read the IMDb's conditions of use in their website:
- http://www.imdb.com/help/show_article?conditions
- http://www.imdb.com/help/show_leaf?usedatasoftware
- any other notice in the http://www.imdb.com/ site.
Please read the IMDb's conditions of use on their website:
- https://www.imdb.com/conditions
- https://www.imdb.com/licensing
- any other notice on the https://www.imdb.com/ site
The Debian packaging is © 2006-2016, Ana Beatriz Guerrero Lopez <ana@ekaia.org>
and is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
The Debian packaging is © 2006-2018, Ana Beatriz Guerrero Lopez <ana@ekaia.org>
and is licensed under the GPLv2 or later, see `/usr/share/common-licenses/GPL-2'.
--- a/setup.py
+++ b/setup.py
@@ -103,7 +103,7 @@
'classifiers': [_f for _f in classifiers.split("\n") if _f],
'url': home_page,
'download_url': dwnl_url,
- 'scripts': scripts,
+# 'scripts': scripts,
'data_files': data_files,
'install_requires': ['SQLAlchemy', 'lxml'],
'extras_require': {
--- imdbpy-4.2.orig/setup.py
+++ imdbpy-4.2/setup.py
@@ -95,7 +95,7 @@
# standard=False so that it's not installed if both --without-sqlobject
# and --without-sqlalchemy are specified.
featSQL = setuptools.dist.Feature('access to SQL databases', standard=False,
- remove='imdb.parser.sql', scripts=sqlScripts)
+ remove='imdb.parser.sql')#, scripts=sqlScripts)
features = {
'cutils': featCutils,
@@ -127,9 +127,9 @@
'url': home_page,
'download_url': dwnl_url,
# Scripts.
- 'scripts': scripts,
+# 'scripts': scripts,
# Documentation files.
- 'data_files': data_files,
+# 'data_files': data_files,
# C extensions.
#'ext_modules': [cutils],
# Requirements. XXX: maybe we can use extras_require?
no_install_doc_or_stuff_in_etc
do_not_install_scripts
docs/AUTHOR.txt
docs/CONTRIBUTORS.txt
docs/CREDITS.txt
docs/DISCLAIMER.txt
docs/FAQS.txt
docs/README.adult
docs/README.companies
docs/README.currentRole
docs/README.devel
docs/README.info2xml
docs/README.keywords
docs/README.local
docs/README.locale
docs/README.logging
docs/README.mobile
docs/README.newparsers
docs/README.package
docs/README.redesign
docs/README.series
docs/README.sqldb
docs/README.txt
docs/README.unicode
docs/README.users
docs/TODO.txt
docs/goodies/
docs/imdbpy*.dtd
docs/imdbpy.cfg
docs/imdbpyPowered.png
docs/imdbpyico.png
docs/imdbpyico.xpm
docs/imdbpyico16x16.ico
docs/imdbpyico32x32.ico
docs/imdbpywin.bmp
#!/usr/bin/make -f
%:
dh $@ --with python2
override_dh_python2:
dh_python2 --no-guessing-deps
dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_test:
......@@ -6,3 +6,4 @@ imdb/locale/es/LC_MESSAGES/imdbpy.mo
imdb/locale/fr/LC_MESSAGES/imdbpy.mo
imdb/locale/it/LC_MESSAGES/imdbpy.mo
imdb/locale/tr/LC_MESSAGES/imdbpy.mo
imdb/locale/pt_BR/LC_MESSAGES/imdbpy.mo
# Compulsory line, this is a version 3 file
version=3
version=4
# Uncomment to find new files on sourceforge, for debscripts >= 2.9
http://sf.net/imdbpy/IMDbPY-(.*)\.tar\.gz
opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/<project>-$1\.tar\.gz/ \
https://github.com/alberanid/imdbpy/tags .*/v?(\d\S+)\.tar\.gz