makedeb


mov-cli 4.4.15-0


Python script for watching movies and TV shows via the terminal.

Click here to go back to the commit logs for mov-cli.

Commit:


Hash: af91f3c6a9c84c9877699755e0de657dd9557e01

Message: 4.0.4

Diff


diff --git a/.SRCINFO b/.SRCINFO
index ac77e9c..51f56a0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,33 +3,35 @@ pkgname = mov-cli
 pkgbase = mov-cli
 pkgdesc = Python script for watching movies and TV shows via the terminal.
 pkgrel = 0
-pkgver = 1.5.7
+pkgver = 4.0.4
 url = https://github.com/mov-cli/mov-cli
 arch = all
-conflicts = mov-cli-git
-depends = python3-bs4
-depends = python3-tldextract
 depends = python3-httpx
-depends = python3-pycryptodome-fix
-depends = python3-six
-depends = python3-krfzf-py
-depends = python3-lxml
-depends = python3-cssselect
+depends = python3-toml
+depends = python3-devgoldyutils
+depends = python3-typer
+depends = python3-inquirer
+depends = python3-bs4
+depends = python3-unidecode
 depends = mpv
-depends = ffmpeg
-depends = fzf
 license = GPL3
 makedepends = python3-build
+makedepends = python3-setuptools
+makedepends = python3-setuptools-scm
 makedepends = python3-installer
-makedepends = python3-poetry
 makedepends = python3-wheel
-optdepends = python3-porn-cli: Porn lib
+optdepends = fzf
+optdepends = python3-lxml: faster scraping
+optdepends = python3-cssselect: debian bug, required for python3-lxml
 optdepends = vlc: alternate media player
-source = mov-cli-1.5.7.tar.gz::https://github.com/mov-cli/mov-cli/archive/refs/tags/1.5.7.tar.gz
-b2sums = 419e192d75745a8ed3c7fb4ae69b7726fdbe0606ad561851e566943a368a4e1679f17a2764e39942a68fb0b1cebe6225a17fb1a86252fe3ea297ff87c571f3be
+source = mov-cli-4.0.4.tar.gz::https://github.com/mov-cli/mov-cli/archive/refs/tags/4.0.4.tar.gz
+b2sums = 1e3fbd6becd3f763eab0c91f65e6b9456da726652a11b35efe4ac506fa9608af9b6c5bea14152aff4dbaebb72babadfb43345228d642ee749016b320d371a838
 makedepends = python3-build
+makedepends = python3-setuptools
+makedepends = python3-setuptools-scm
 makedepends = python3-installer
-makedepends = python3-poetry
 makedepends = python3-wheel
-optdepends = python3-porn-cli: Porn lib
+optdepends = fzf
+optdepends = python3-lxml: faster scraping
+optdepends = python3-cssselect: debian bug, required for python3-lxml
 optdepends = vlc: alternate media player
diff --git a/PKGBUILD b/PKGBUILD
index 01b02bd..b85b315 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,23 @@
 # Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
 pkgname='mov-cli'
-pkgver=1.5.7
+pkgver=4.0.4
 pkgrel=0
 pkgdesc="Python script for watching movies and TV shows via the terminal."
 arch=('all')
 url="https://github.com/mov-cli/mov-cli"
 license=('GPL3')
-makedepends=('python3-build' 'python3-installer' 'python3-poetry' 'python3-wheel') 
-#debian bug: pycryptodome is actually pycryptodomex
-#debian bug: lxml optional dependency, but missig cssselect dependency
-depends=('python3-bs4' 'python3-tldextract' 'python3-httpx' 'python3-pycryptodome-fix' 'python3-six' 'python3-krfzf-py' 'python3-lxml' 'python3-cssselect' 'mpv' 'ffmpeg' 'fzf')
-optdepends=("python3-porn-cli: Porn lib"
+makedepends=('python3-build' 'python3-setuptools' 'python3-setuptools-scm' 'python3-installer' 'python3-wheel') 
+depends=('python3-httpx' 'python3-toml' 'python3-devgoldyutils' 'python3-typer' 'python3-inquirer' 'python3-bs4' 'python3-unidecode' 'mpv')
+optdepends=("fzf"
+            "python3-lxml: faster scraping" 
+            "python3-cssselect: debian bug, required for python3-lxml"
             "vlc: alternate media player")
-conflicts=('mov-cli-git')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/mov-cli/mov-cli/archive/refs/tags/$pkgver.tar.gz")
-b2sums=('419e192d75745a8ed3c7fb4ae69b7726fdbe0606ad561851e566943a368a4e1679f17a2764e39942a68fb0b1cebe6225a17fb1a86252fe3ea297ff87c571f3be')
+b2sums=('1e3fbd6becd3f763eab0c91f65e6b9456da726652a11b35efe4ac506fa9608af9b6c5bea14152aff4dbaebb72babadfb43345228d642ee749016b320d371a838')
+
+prepare() {
+  echo "Disclaimer: This project is to be used at the user's own risk, based on their government and laws."
+}
 
 build(){
   cd "$srcdir/$pkgname-$pkgver"
@@ -31,6 +34,6 @@ package() {
   cp -R mov_cli "$pkgdir"/usr/lib/*/dist-packages/
   # doc
   install -Dm644 "README.md" "$pkgdir/usr/share/doc/$pkgname/readme"
-  install -Dm644 "disclaimer.org" "$pkgdir/usr/share/doc/$pkgname/disclaimer"
+  install -Dm644 "disclaimer.md" "$pkgdir/usr/share/doc/$pkgname/disclaimer"
   ln -s /usr/share/common-licenses/GPL-3 "$pkgdir/usr/share/doc/$pkgname/"
 }