makedeb
Porn lib for mov-cli, for watching porn via the terminal.
Click here to go back to the commit logs for python3-porn-cli.
Hash: e2a106227d41223dfc5467a61c0ca2da9f70c47a
Message: converting to library 1.0.6
diff --git a/.SRCINFO b/.SRCINFO
index eafa38e..8120892 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,30 +1,22 @@
generated-by = makedeb
-pkgname = porn-cli
-pkgbase = porn-cli
-pkgdesc = Python script for watching porn via the terminal.
+pkgname = python3-porn-cli
+pkgbase = python3-porn-cli
+pkgdesc = Porn lib for mov-cli, for watching porn via the terminal.
pkgrel = 0
-pkgver = 1.0.3
+pkgver = 1.0.6
url = https://github.com/mov-cli/porn-cli
arch = all
+conflicts = porn-cli
conflicts = porn-cli-git
-depends = python3-bs4
-depends = python3-lxml
-depends = python3-cssselect
-depends = python3-tldextract
-depends = python3-httpx
-depends = python3-pycryptodome-fix
-depends = python3-six
-depends = python3-krfzf-py
-depends = mpv
-depends = ffmpeg
-depends = fzf
+depends = python3
license = GPL3
makedepends = python3-build
makedepends = python3-installer
makedepends = python3-wheel
-provides = porn-cli
-source = porn-cli-1.0.3.tar.gz::https://github.com/mov-cli/porn-cli/archive/refs/tags/1.0.3.tar.gz
-b2sums = 9583ad05387b8df0575428a4d12a552e1bdfb986c71e780d589f596551f630766c14cd0dbbf05f863839aa2c17f2f3802d2275fbf221aa3570691e6e22e46abd
+optdepends = mov-cli>=1.4.6
+source = python3-porn-cli-1.0.6.tar.gz::https://github.com/mov-cli/porn-cli/archive/refs/tags/1.0.6.tar.gz
+b2sums = a536084c9ce40b6b6cbbaac8f7d6ab09167277d3cb9e5d196f4f5830bbddfd4aa2afcf880179674fa6e470122a5ea16f7142722e1e614f39ca4b538217db3052
makedepends = python3-build
makedepends = python3-installer
makedepends = python3-wheel
+optdepends = mov-cli>=1.4.6
diff --git a/.gitignore b/.gitignore
index b05375c..e2b6e6a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,3 @@
pkg/
src/
-porn-cli*
+python3-porn-cli*
diff --git a/PKGBUILD b/PKGBUILD
index c950c2a..eb2ac93 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,27 +1,28 @@
# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
-pkgname='porn-cli'
-pkgver=1.0.3
+_pkgname='porn-cli'
+pkgname='python3-porn-cli'
+pkgver=1.0.6
pkgrel=0
-pkgdesc="Python script for watching porn via the terminal."
+pkgdesc="Porn lib for mov-cli, for watching porn via the terminal."
arch=('all')
url="https://github.com/mov-cli/porn-cli"
license=('GPL3')
makedepends=('python3-build' 'python3-installer' 'python3-wheel')
#debian bug: lxml missig cssselect dependency
#debian bug: pycryptodome is actually pycryptodomex
-depends=('python3-bs4' 'python3-lxml' 'python3-cssselect' 'python3-tldextract' 'python3-httpx' 'python3-pycryptodome-fix' 'python3-six' 'python3-krfzf-py' 'mpv' 'ffmpeg' 'fzf')
-provides=('porn-cli')
-conflicts=('porn-cli-git')
+depends=('python3')
+optdepends=('mov-cli>=1.4.6')
+conflicts=('porn-cli' 'porn-cli-git')
source=("$pkgname-$pkgver.tar.gz::https://github.com/mov-cli/porn-cli/archive/refs/tags/$pkgver.tar.gz")
-b2sums=('9583ad05387b8df0575428a4d12a552e1bdfb986c71e780d589f596551f630766c14cd0dbbf05f863839aa2c17f2f3802d2275fbf221aa3570691e6e22e46abd')
+b2sums=('a536084c9ce40b6b6cbbaac8f7d6ab09167277d3cb9e5d196f4f5830bbddfd4aa2afcf880179674fa6e470122a5ea16f7142722e1e614f39ca4b538217db3052')
build(){
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$_pkgname-$pkgver"
python3 -m build --no-isolation --wheel
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$_pkgname-$pkgver"
python3 -m installer --destdir="$pkgdir" dist/*.whl #--optimize=1 --skip-build
# Manual remove local
mv "$pkgdir/usr/local/"* "$pkgdir/usr/"
@@ -29,7 +30,7 @@ package() {
# wheel BUG
cp -R porn_cli "$pkgdir"/usr/lib/*/dist-packages/
# doc
- install -Dm644 "LICENSE" "$pkgdir/usr/share/doc/$pkgname/license"
- install -Dm644 "README.md" "$pkgdir/usr/share/doc/$pkgname/readme"
- install -Dm644 "disclaimer.org" "$pkgdir/usr/share/doc/$pkgname/disclaimer"
+ install -Dm644 "LICENSE" "$pkgdir/usr/share/doc/$_pkgname/license"
+ install -Dm644 "README.md" "$pkgdir/usr/share/doc/$_pkgname/readme"
+ install -Dm644 "disclaimer.org" "$pkgdir/usr/share/doc/$_pkgname/disclaimer"
}