New package: mnamer-2.5.5

This commit is contained in:
Mateusz Sylwestrzak 2025-08-09 11:24:52 +02:00 committed by Duncan Overbruck
parent 55ed3f9b74
commit 25b913b809
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- a/mnamer/utils.py 2023-08-15 21:24:08.000000000 +0200
+++ b/mnamer/utils.py 2025-08-09 11:16:52.264564049 +0200
@@ -256,7 +256,7 @@
"like Gecko) Chrome/79.0.3945.88 Safari/537.36"
)
- initial_cache_state = session._disabled # yes, i'm a bad person
+ initial_cache_state = getattr(session, "_disabled", False) # patched for requests-cache>=1.0
try:
session._disabled = not cache
response = session.request(

19
srcpkgs/mnamer/template Normal file
View file

@ -0,0 +1,19 @@
# Template file for 'mnamer'
pkgname=mnamer
version=2.5.5
revision=1
build_style=python3-pep517
hostmakedepends="python3-poetry-core python3-setuptools_scm python3-wheel"
depends="python3-appdirs python3-babelfish python3-guessit
python3-requests python3-requests-cache python3-setuptools_scm
python3-teletype python3-typing_extensions"
short_desc="Intelligent and highly configurable media organization utility"
maintainer="Mateusz Sylwestrzak <slymattz@gmail.com>"
license="MIT"
homepage="https://github.com/jkwill87/mnamer"
distfiles="${PYPI_SITE}/m/mnamer/mnamer-${version}.tar.gz"
checksum=c3905b7fc03e07b5b22d92f29ce9c80cc2c2788cebe35e2297fe9f3a4ce7fbf3
post_install() {
vlicense LICENSE.txt
}