summaryrefslogtreecommitdiff
path: root/tmdbv3api
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2024-02-20 21:56:10 -0500
committerB. Stack <bgstack15@gmail.com>2024-02-20 21:56:49 -0500
commit556c3d13787071c91bc0a9514eee90f2f69eff1d (patch)
tree54373734befa3bb3c531b805ad64178d8ab6a528 /tmdbv3api
parentffs 13.4 (diff)
downloadstackrpms-556c3d13787071c91bc0a9514eee90f2f69eff1d.tar.gz
stackrpms-556c3d13787071c91bc0a9514eee90f2f69eff1d.tar.bz2
stackrpms-556c3d13787071c91bc0a9514eee90f2f69eff1d.zip
tmdbv3api: add this package
Diffstat (limited to 'tmdbv3api')
-rw-r--r--tmdbv3api/README.md33
-rw-r--r--tmdbv3api/debian/README.Debian5
-rw-r--r--tmdbv3api/debian/_service28
-rw-r--r--tmdbv3api/debian/changelog5
-rw-r--r--tmdbv3api/debian/control21
-rw-r--r--tmdbv3api/debian/copyright88
-rw-r--r--tmdbv3api/debian/patches/series1
-rwxr-xr-xtmdbv3api/debian/rules10
-rw-r--r--tmdbv3api/debian/source/format1
-rw-r--r--tmdbv3api/debian/source/local-options4
-rw-r--r--tmdbv3api/debian/source/options4
-rw-r--r--tmdbv3api/debian/source/patch-header22
-rw-r--r--tmdbv3api/debian/tmdbv3api+stackrpms.dsc14
-rw-r--r--tmdbv3api/debian/upstream/metadata16
-rw-r--r--tmdbv3api/debian/watch2
15 files changed, 254 insertions, 0 deletions
diff --git a/tmdbv3api/README.md b/tmdbv3api/README.md
new file mode 100644
index 0000000..2ecde40
--- /dev/null
+++ b/tmdbv3api/README.md
@@ -0,0 +1,33 @@
+# README for tmdbv3api
+Project [tmdbv3api](https://github.com/AnthonyBloomer/tmdbv3api) brings The Movie Database (TMDb) API to python3.
+
+## Upstream
+This project's upstream is at <https://github.com/AnthonyBloomer/tmdbv3api>. The stackrpms build recipe is at <https://bgstack15.ddns.net/cgit/stackrpms/tree/tmdbv3api>.
+
+## Alternatives
+Use a python venv and the [pip](https://pypi.org/project/tmdbv3api/) package.
+
+Set up a venv:
+
+ python3 -m venv ~/venv1
+ source ~/venv1/bin/activate
+ pip3 install tmdbv3api
+
+Use the venv:
+
+ source ~/venv1/bin/activate
+ python3
+
+## Reason for existence
+This library is not packaged by anybody else in dpkg format. I got tired of using a venv that only exists where I have prepared it ahead of time. I want a general solution.
+
+## Using
+Install it.
+
+## Dependencies
+See original package dependencies, but it was just `python3`. Obviously when using the library you will need a tmdb account.
+
+## Building
+I use the Open Build Service to build this [package](https://build.opensuse.org/package/show/home:bgstack15/tmdbv3api).
+
+## References
diff --git a/tmdbv3api/debian/README.Debian b/tmdbv3api/debian/README.Debian
new file mode 100644
index 0000000..1f4bdff
--- /dev/null
+++ b/tmdbv3api/debian/README.Debian
@@ -0,0 +1,5 @@
+tmdbv3api for Devuan
+
+Initial package for stackrpms.
+
+ -- B. Stack <bgstack15@gmail.com> Tue, 20 Feb 2024 21:09:11 -0500
diff --git a/tmdbv3api/debian/_service b/tmdbv3api/debian/_service
new file mode 100644
index 0000000..d1b85e4
--- /dev/null
+++ b/tmdbv3api/debian/_service
@@ -0,0 +1,28 @@
+<services>
+ <service name="tar_scm">
+ <param name="scm">git</param>
+ <param name="url">https://bgstack15.ddns.net/cgit/stackrpms</param>
+ <param name="subdir">tmdbv3api/debian</param>
+ <param name="filename">debian</param>
+ <param name="revision">master</param>
+ <param name="version">_none_</param>
+ </service>
+ <service name="recompress">
+ <param name="file">*.tar</param>
+ <param name="compression">xz</param>
+ </service>
+ <service name="tar_scm">
+ <param name="scm">git</param>
+ <param name="url">https://github.com/AnthonyBloomer/tmdbv3api</param>
+ <param name="revision">master</param>
+ <param name="version">_none_</param>
+ </service>
+ <service name="recompress">
+ <param name="file">*.tar</param>
+ <param name="compression">gz</param>
+ </service>
+ <service name="extract_file">
+ <param name="archive">*.tar.xz</param>
+ <param name="files">*/*.dsc</param>
+ </service>
+</services>
diff --git a/tmdbv3api/debian/changelog b/tmdbv3api/debian/changelog
new file mode 100644
index 0000000..c20f232
--- /dev/null
+++ b/tmdbv3api/debian/changelog
@@ -0,0 +1,5 @@
+tmdbv3api (1.9.1-1+stackrpms) obs; urgency=low
+
+ * Initial release. Closes: packages-want#32
+
+ -- B. Stack <bgstack15@gmail.com> Tue, 20 Feb 2024 21:09:11 -0500
diff --git a/tmdbv3api/debian/control b/tmdbv3api/debian/control
new file mode 100644
index 0000000..a44ad02
--- /dev/null
+++ b/tmdbv3api/debian/control
@@ -0,0 +1,21 @@
+Source: tmdbv3api
+Section: python
+Priority: optional
+Maintainer: B. Stack <bgstack15@gmail.com>
+Build-Depends: debhelper-compat (= 13),
+ dh-python,
+ python3,
+Standards-Version: 4.6.1
+Homepage: https://github.com/AnthonyBloomer/tmdbv3api
+Rules-Requires-Root: no
+
+Package: tmdbv3api
+Architecture: any
+Multi-Arch: foreign
+Depends: ${misc:Depends}, ${python3:Depends},
+ python3:any
+Description: lightweight python library for The Movie Database (TMDb) API
+ Python interface to The Movie Database API, which is a
+ resource for developers to integrate movie, TV show and
+ cast data along with posters or movie fan art.
+ themoviedb.org is a free and community edited database.
diff --git a/tmdbv3api/debian/copyright b/tmdbv3api/debian/copyright
new file mode 100644
index 0000000..586580d
--- /dev/null
+++ b/tmdbv3api/debian/copyright
@@ -0,0 +1,88 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: tmdbv3api
+Upstream-Contact: Anthony Bloomer <anthony.bloomer@icloud.com>
+Source: https://github.com/AnthonyBloomer/tmdbv3api
+
+Files: .github/dependabot.yml
+ .github/workflows/python-publish.yml
+ .gitignore
+ .travis.yml
+ README.rst
+ examples/account_info.py
+ examples/certification.py
+ examples/collection.py
+ examples/company.py
+ examples/configuration.py
+ examples/discover.py
+ examples/find.py
+ examples/lists.py
+ examples/movie_details.py
+ examples/movie_genres.py
+ examples/popular.py
+ examples/recommender.py
+ examples/search_movies.py
+ examples/search_multi.py
+ examples/search_tv.py
+ examples/trending.py
+ requirements.txt
+ setup.py
+ tests/test_account.py
+ tests/test_as_obj.py
+ tests/test_certification.py
+ tests/test_change.py
+ tests/test_collection.py
+ tests/test_company.py
+ tests/test_configuration.py
+ tests/test_credit.py
+ tests/test_discover.py
+ tests/test_episode.py
+ tests/test_find.py
+ tests/test_genre.py
+ tests/test_group.py
+ tests/test_keyword.py
+ tests/test_list.py
+ tests/test_movie.py
+ tests/test_network.py
+ tests/test_person.py
+ tests/test_provider.py
+ tests/test_review.py
+ tests/test_search.py
+ tests/test_season.py
+ tests/test_trending.py
+ tests/test_tv.py
+ tests/util.py
+ tmdbv3api/__init__.py
+ tmdbv3api/as_obj.py
+ tmdbv3api/exceptions.py
+ tmdbv3api/objs/__init__.py
+ tmdbv3api/objs/account.py
+ tmdbv3api/objs/auth.py
+ tmdbv3api/objs/certification.py
+ tmdbv3api/objs/change.py
+ tmdbv3api/objs/collection.py
+ tmdbv3api/objs/company.py
+ tmdbv3api/objs/configuration.py
+ tmdbv3api/objs/credit.py
+ tmdbv3api/objs/discover.py
+ tmdbv3api/objs/episode.py
+ tmdbv3api/objs/find.py
+ tmdbv3api/objs/genre.py
+ tmdbv3api/objs/group.py
+ tmdbv3api/objs/keyword.py
+ tmdbv3api/objs/list.py
+ tmdbv3api/objs/movie.py
+ tmdbv3api/objs/network.py
+ tmdbv3api/objs/person.py
+ tmdbv3api/objs/provider.py
+ tmdbv3api/objs/review.py
+ tmdbv3api/objs/search.py
+ tmdbv3api/objs/season.py
+ tmdbv3api/objs/trending.py
+ tmdbv3api/objs/tv.py
+ tmdbv3api/tmdb.py
+Copyright: __NO_COPYRIGHT_NOR_LICENSE__
+License: __NO_COPYRIGHT_NOR_LICENSE__
+
+#----------------------------------------------------------------------------
+# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following
+# license/copyright files.
diff --git a/tmdbv3api/debian/patches/series b/tmdbv3api/debian/patches/series
new file mode 100644
index 0000000..4a97dfa
--- /dev/null
+++ b/tmdbv3api/debian/patches/series
@@ -0,0 +1 @@
+# You must remove unused comment lines for the released package.
diff --git a/tmdbv3api/debian/rules b/tmdbv3api/debian/rules
new file mode 100755
index 0000000..119a7cb
--- /dev/null
+++ b/tmdbv3api/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+# You must remove unused comment lines for the released package.
+#export DH_VERBOSE = 1
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1
+#export PYBUILD_NAME = tmdbv3api
+
+%:
+ dh $@ --with python3 --buildsystem pybuild
diff --git a/tmdbv3api/debian/source/format b/tmdbv3api/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/tmdbv3api/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/tmdbv3api/debian/source/local-options b/tmdbv3api/debian/source/local-options
new file mode 100644
index 0000000..77effbe
--- /dev/null
+++ b/tmdbv3api/debian/source/local-options
@@ -0,0 +1,4 @@
+#
+# ### gbp-buildpackage(1) user may like this. ###
+#abort-on-upstream-changes
+#unapply-patches
diff --git a/tmdbv3api/debian/source/options b/tmdbv3api/debian/source/options
new file mode 100644
index 0000000..077de7d
--- /dev/null
+++ b/tmdbv3api/debian/source/options
@@ -0,0 +1,4 @@
+#
+# ### dgit-maint-merge(7) workflow user need this ###
+# single-debian-patch
+# auto-commit
diff --git a/tmdbv3api/debian/source/patch-header b/tmdbv3api/debian/source/patch-header
new file mode 100644
index 0000000..6ff0a40
--- /dev/null
+++ b/tmdbv3api/debian/source/patch-header
@@ -0,0 +1,22 @@
+The automatically generated patch puts this free form text on top of it.
+
+If you are using gbp-buildpackage(1), you probably don't need this file.
+
+If you are using dgit-maint-merge(7), please consider text as follows.
+
+The Debian packaging of foo is maintained in git, using the merging workflow
+described in dgit-maint-merge(7). There isn't a patch queue that can be
+represented as a quilt series.
+
+A detailed breakdown of the changes is available from their canonical
+representation - git commits in the packaging repository. For example, to see
+the changes made by the Debian maintainer in the first upload of upstream
+version 1.2.3, you could use:
+
+ % git clone https://git.dgit.debian.org/foo
+ % cd foo
+ % git log --oneline 1.2.3..debian/1.2.3-1 -- . ':!debian'
+
+(If you have dgit, use `dgit clone foo`, rather than plain `git clone`.)
+
+A single combined diff, containing all the changes, follows.
diff --git a/tmdbv3api/debian/tmdbv3api+stackrpms.dsc b/tmdbv3api/debian/tmdbv3api+stackrpms.dsc
new file mode 100644
index 0000000..c2115b6
--- /dev/null
+++ b/tmdbv3api/debian/tmdbv3api+stackrpms.dsc
@@ -0,0 +1,14 @@
+Format: 3.0 (quilt)
+Source: tmdbv3api
+Binary: tmdbv3api
+Architecture: any
+Version: 1.9.1-1+stackrpms
+Maintainer: B. Stack <bgstack15@gmail.com>
+Homepage: https://github.com/AnthonyBloomer/tmdbv3api
+Standards-Version: 4.6.1
+Build-Depends: debhelper-compat (= 13), dh-python, python3
+Package-List:
+ tmdbv3api deb python optional arch=any
+Files:
+ 00000000000000000000000000000000 1 tmdbv3api.orig.tar.gz
+ 00000000000000000000000000000000 1 tmdbv3api.debian.tar.xz
diff --git a/tmdbv3api/debian/upstream/metadata b/tmdbv3api/debian/upstream/metadata
new file mode 100644
index 0000000..dc2feb0
--- /dev/null
+++ b/tmdbv3api/debian/upstream/metadata
@@ -0,0 +1,16 @@
+#
+# DEP-12: Per-package machine-readable metadata about Upstream
+# Please check * https://dep-team.pages.debian.net/deps/dep12/
+# * https://wiki.debian.org/UpstreamMetadata
+Reference:
+ Author: <please use full names and separate multiple author by the keyword "and">
+ Title:
+ Journal:
+ Year:
+ Volume:
+ Number:
+ Pages:
+ DOI:
+ PMID:
+ URL:
+ eprint:
diff --git a/tmdbv3api/debian/watch b/tmdbv3api/debian/watch
new file mode 100644
index 0000000..76575dc
--- /dev/null
+++ b/tmdbv3api/debian/watch
@@ -0,0 +1,2 @@
+# You must remove unused comment lines for the released package.
+version=3
bgstack15