diff --git a/archivers/Makefile b/archivers/Makefile index 755d5fb7dc95..9dc3c5ed3c0f 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -1,298 +1,299 @@ COMMENT = Archivers SUBDIR += 7-zip SUBDIR += 9e SUBDIR += R-cran-zip SUBDIR += advancecomp SUBDIR += amigadepacker SUBDIR += ancient SUBDIR += apache-commons-compress SUBDIR += arc SUBDIR += arj SUBDIR += ark SUBDIR += ark-devel SUBDIR += arqiver SUBDIR += atool SUBDIR += bicom SUBDIR += brotli SUBDIR += bzip SUBDIR += bzip2 SUBDIR += bzip3 SUBDIR += c-blosc SUBDIR += c-blosc2 SUBDIR += cabextract SUBDIR += ccmix SUBDIR += cmdpack SUBDIR += dact SUBDIR += deb2targz SUBDIR += deco SUBDIR += deutex SUBDIR += dpkg SUBDIR += draco SUBDIR += dzip SUBDIR += engrampa SUBDIR += fastjar SUBDIR += file-roller SUBDIR += gcab SUBDIR += gcpio SUBDIR += gnome-autoar SUBDIR += grzip SUBDIR += gtar SUBDIR += gzip SUBDIR += gzip-hpp SUBDIR += gzrecover SUBDIR += ha SUBDIR += hlextract SUBDIR += innoextract SUBDIR += javatar SUBDIR += kf5-karchive SUBDIR += kf6-karchive SUBDIR += kzip SUBDIR += laszip SUBDIR += lazperf SUBDIR += lbrate SUBDIR += lbzip2 SUBDIR += lcab SUBDIR += lha SUBDIR += lha-ac SUBDIR += lhasa SUBDIR += lib1541img SUBDIR += libarc SUBDIR += libarchive SUBDIR += libarchive-qt SUBDIR += libcabinet SUBDIR += libcomprex SUBDIR += libdeflate SUBDIR += libdynamite SUBDIR += liblz4 SUBDIR += liblzxcomp SUBDIR += libmspack SUBDIR += libpar2 SUBDIR += libszip SUBDIR += libunrar SUBDIR += libzip SUBDIR += libzippp SUBDIR += linux-c7-lz4 SUBDIR += linux-rl9-brotli SUBDIR += linux-rl9-lz4 SUBDIR += lizard SUBDIR += lrzip SUBDIR += lua-lzlib SUBDIR += lua-zlib SUBDIR += lxqt-archiver SUBDIR += lz4json SUBDIR += lzfse SUBDIR += lzip SUBDIR += lziprecover SUBDIR += lzlib SUBDIR += lzma SUBDIR += lzo2 SUBDIR += lzop SUBDIR += lzsa SUBDIR += makeself SUBDIR += mar SUBDIR += maxcso SUBDIR += minizip SUBDIR += minizip-ng SUBDIR += mscompress SUBDIR += mtf SUBDIR += nevada-toolset SUBDIR += nfpm SUBDIR += nomarch SUBDIR += nwreckdum SUBDIR += ocaml-bz2 SUBDIR += ocaml-zip SUBDIR += opkg-openwrt SUBDIR += ouch SUBDIR += p5-Archive-Any SUBDIR += p5-Archive-Any-Lite SUBDIR += p5-Archive-Any-Plugin-Rar SUBDIR += p5-Archive-Extract SUBDIR += p5-Archive-Extract-Libarchive SUBDIR += p5-Archive-Libarchive SUBDIR += p5-Archive-Peek SUBDIR += p5-Archive-Rar SUBDIR += p5-Archive-SimpleExtractor SUBDIR += p5-Archive-Tar SUBDIR += p5-Archive-Tar-Wrapper SUBDIR += p5-Archive-Zip SUBDIR += p5-Compress-Bzip2 SUBDIR += p5-Compress-LZ4 SUBDIR += p5-Compress-LZF SUBDIR += p5-Compress-LZO SUBDIR += p5-Compress-LZW SUBDIR += p5-Compress-Raw-Bzip2 SUBDIR += p5-Compress-Raw-Lzma SUBDIR += p5-Compress-Raw-Zlib SUBDIR += p5-Compress-Snappy SUBDIR += p5-Compress-Zstd SUBDIR += p5-Gzip-Faster SUBDIR += p5-IO-Compress SUBDIR += p5-IO-Compress-Brotli SUBDIR += p5-IO-Compress-Lzf SUBDIR += p5-IO-Compress-Lzma SUBDIR += p5-IO-Compress-Lzop SUBDIR += p5-IO-Zlib SUBDIR += p5-Mac-Macbinary SUBDIR += p5-POE-Filter-Bzip2 SUBDIR += p5-POE-Filter-LZF SUBDIR += p5-POE-Filter-LZO SUBDIR += p5-POE-Filter-LZW SUBDIR += p5-POE-Filter-Zlib SUBDIR += p5-PerlIO-gzip SUBDIR += p5-PerlIO-via-Bzip2 SUBDIR += packddir SUBDIR += par SUBDIR += par2cmdline SUBDIR += par2cmdline-turbo SUBDIR += parchive SUBDIR += pbzip2 SUBDIR += pear-File_Archive SUBDIR += pear-Horde_Compress SUBDIR += pear-Horde_Compress_Fast SUBDIR += pear-Horde_Pack SUBDIR += pear-PHP_Archive SUBDIR += peazip SUBDIR += pecl-lzf SUBDIR += pecl-rar SUBDIR += pecl-zstd SUBDIR += php-brotli SUBDIR += php-horde_lz4 SUBDIR += php-lz4 SUBDIR += php-snappy SUBDIR += php-zstd SUBDIR += php81-bz2 SUBDIR += php81-phar SUBDIR += php81-zip SUBDIR += php81-zlib SUBDIR += php82-bz2 SUBDIR += php82-phar SUBDIR += php82-zip SUBDIR += php82-zlib SUBDIR += php83-bz2 SUBDIR += php83-phar SUBDIR += php83-zip SUBDIR += php83-zlib SUBDIR += php84-bz2 SUBDIR += php84-phar SUBDIR += php84-zip SUBDIR += php84-zlib SUBDIR += pigz SUBDIR += pixz SUBDIR += plzip SUBDIR += ppmd SUBDIR += ppunpack SUBDIR += py-acefile SUBDIR += py-bitshuffle SUBDIR += py-blosc SUBDIR += py-blosc2 SUBDIR += py-borgbackup SUBDIR += py-borgbackup12 SUBDIR += py-brotli SUBDIR += py-brotlicffi SUBDIR += py-brotlipy SUBDIR += py-bup SUBDIR += py-bz2file + SUBDIR += py-comicapi SUBDIR += py-compressed-rtf SUBDIR += py-cramjam SUBDIR += py-laszip SUBDIR += py-libarchive-c SUBDIR += py-lz4 SUBDIR += py-lzma SUBDIR += py-lzstring SUBDIR += py-patool SUBDIR += py-pyminizip SUBDIR += py-python-lhafile SUBDIR += py-python-lzo SUBDIR += py-python-rpm-packaging SUBDIR += py-python-snappy SUBDIR += py-pyunpack SUBDIR += py-rarfile SUBDIR += py-rcssmin SUBDIR += py-rjsmin SUBDIR += py-sozipfile SUBDIR += py-warctools SUBDIR += py-xopen SUBDIR += py-zipstream-ng SUBDIR += py-zlib-ng SUBDIR += py-zopfli SUBDIR += py-zstandard SUBDIR += py-zstd SUBDIR += qpress SUBDIR += quazip SUBDIR += rar SUBDIR += rpm2cpio SUBDIR += rpm4 SUBDIR += rubygem-archive-zip SUBDIR += rubygem-bzip2-ffi SUBDIR += rubygem-bzip2-ruby SUBDIR += rubygem-fpm SUBDIR += rubygem-libarchive SUBDIR += rubygem-minitar SUBDIR += rubygem-minitar-cli SUBDIR += rubygem-minitar-cli0 SUBDIR += rubygem-minitar0 SUBDIR += rubygem-ruby-xz SUBDIR += rubygem-rubyzip SUBDIR += rubygem-rubyzip13 SUBDIR += rubygem-rubyzip2 SUBDIR += rubygem-rubyzip20 SUBDIR += rubygem-snappy SUBDIR += rvm SUBDIR += rzip SUBDIR += sectar SUBDIR += sharutils SUBDIR += snappy SUBDIR += snappy-java SUBDIR += snzip SUBDIR += squsq SUBDIR += star SUBDIR += stormlib SUBDIR += streamvbyte SUBDIR += stuffit SUBDIR += szip SUBDIR += tar-stream-chunker SUBDIR += tardy SUBDIR += tartest SUBDIR += thunar-archive-plugin SUBDIR += torrentzip SUBDIR += ucl SUBDIR += unace SUBDIR += unadf SUBDIR += unalz SUBDIR += unarchiver SUBDIR += unarj SUBDIR += unarr SUBDIR += undms SUBDIR += unfoo SUBDIR += unlzx SUBDIR += unmakeself SUBDIR += unmass SUBDIR += unrar SUBDIR += unrar-iconv SUBDIR += unrpa SUBDIR += unshield SUBDIR += unzip SUBDIR += unzoo SUBDIR += upx SUBDIR += urbackup-client SUBDIR += urbackup-server SUBDIR += v1541commander SUBDIR += vbz-compression SUBDIR += xarchive SUBDIR += xarchiver SUBDIR += xdms SUBDIR += xmill SUBDIR += zchunk SUBDIR += zip SUBDIR += zipmix SUBDIR += zipper SUBDIR += zlib-ng SUBDIR += zoo SUBDIR += zopfli SUBDIR += zpaqfranz SUBDIR += zstd SUBDIR += zstr SUBDIR += zutils .include diff --git a/archivers/py-comicapi/Makefile b/archivers/py-comicapi/Makefile new file mode 100644 index 000000000000..9a6e88ded594 --- /dev/null +++ b/archivers/py-comicapi/Makefile @@ -0,0 +1,49 @@ +PORTNAME= comicapi +PORTVERSION= 3.2.0 +CATEGORIES= archivers python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= matthew@wener.org +COMMENT= Comic archive (cbr/cbz) and metadata utilities +WWW= https://github.com/comictagger/comicapi + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}natsort>=0:devel/py-natsort@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pycountry>=0:textproc/py-pycountry@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}rapidfuzz>=0:devel/py-rapidfuzz@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}text2digits>=0:textproc/py-text2digits@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wordninja>=0:textproc/py-wordninja@${PY_FLAVOR} + +USES= python + +USE_GITHUB= yes +GH_ACCOUNT= comictagger +GH_TAGNAME= 2bf8332 +USE_PYTHON= autoplist distutils pytest + +TEST_ENV= ${MAKE_ENV} \ + PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +NO_ARCH= yes + +OPTIONS_DEFINE= 7Z CBR ICU +OPTIONS_DEFAULT= ICU + +7Z_DESC= 7-Zip +CBR_DESC= CBR +ICU_DESC= ICU + +7Z_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}py7zr>=0:archivers/py-py7zr@${PY_FLAVOR} +CBR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}rarfile>=0:archivers/py-rarfile@${PY_FLAVOR} \ + unrar>=0:archivers/unrar +ICU_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyicu>=0:devel/py-pyicu@${PY_FLAVOR} + +# The two sorting tests may fail based on system locale +do-test: + @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v + +.include diff --git a/archivers/py-comicapi/distinfo b/archivers/py-comicapi/distinfo new file mode 100644 index 000000000000..781ecf7d8b70 --- /dev/null +++ b/archivers/py-comicapi/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1724809518 +SHA256 (comictagger-comicapi-3.2.0-2bf8332_GH0.tar.gz) = a96a0cdca8f5efc3337fe194f59b86e369e23d12e0fcec81e3c34b9e652c1f18 +SIZE (comictagger-comicapi-3.2.0-2bf8332_GH0.tar.gz) = 17401837 diff --git a/archivers/py-comicapi/pkg-descr b/archivers/py-comicapi/pkg-descr new file mode 100644 index 000000000000..a570852122c8 --- /dev/null +++ b/archivers/py-comicapi/pkg-descr @@ -0,0 +1,2 @@ +Comic archive (cbr/cbz) and metadata utilities. +Extracted from the comictagger project.