diff options
author | Marcin Deranek <marcin.deranek@slonko.net> | 2023-12-05 23:21:53 +0100 |
---|---|---|
committer | Marcin Deranek <marcin.deranek@slonko.net> | 2023-12-05 23:21:53 +0100 |
commit | 29470bdc8cd8ccc1ced0339cf12304aa48dcaa4a (patch) | |
tree | df26fcec49c8c05d1b0dab91283016ccd8e31a96 /www-apps | |
parent | f4fe034fa5de65bded4b492ab0fe073057d5d278 (diff) | |
download | portage-29470bdc8cd8ccc1ced0339cf12304aa48dcaa4a.tar.gz portage-29470bdc8cd8ccc1ced0339cf12304aa48dcaa4a.tar.bz2 portage-29470bdc8cd8ccc1ced0339cf12304aa48dcaa4a.zip |
www-apps/paperless-ngx version bump
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/paperless-ngx/Manifest | 4 | ||||
-rw-r--r-- | www-apps/paperless-ngx/paperless-ngx-2.0.1.ebuild (renamed from www-apps/paperless-ngx/paperless-ngx-1.16.5.ebuild) | 113 |
2 files changed, 68 insertions, 49 deletions
diff --git a/www-apps/paperless-ngx/Manifest b/www-apps/paperless-ngx/Manifest index df4f74d..342e69e 100644 --- a/www-apps/paperless-ngx/Manifest +++ b/www-apps/paperless-ngx/Manifest @@ -4,8 +4,8 @@ AUX paperless-task-queue.service 306 BLAKE2B fb04b70fc9d3461dff1f4ba78a92f5e299f AUX paperless-webserver.service 406 BLAKE2B e1f00059be8e814f9ab67e18ef790665f3eb8077c0d7ce5d25b371a908a24d9802643db95ae1090d99f7c0420b9e55271197351b32d816cb6cf6afafd0f17c90 SHA512 74531b12c30f7bfe30a7b74685107d03b38dd134703484107d4c4d6ce675c703fd6322fb6eeb0957bedeb51e649c13f05bf6ff7e24f38c85c73a8c5602b35e0f AUX paperless.target 215 BLAKE2B 95b67ebfc166b888ee5aea32c5565002ae451a10c0d0851df79eeabf3a6e900c7112d447ccbc170bca771bf33e07261aa05f32a25e742ded0b10e6f31ee78870 SHA512 ae3d1dcc8f056f303a0c628c1aabb60e0c93f4006352c5d05a5ee673238c56085ccd2d95ff53555767d9a31a639cd571a26083aab274237cb9f8563ce50c25d6 AUX paperless.tmpfiles 349 BLAKE2B 4a59f0a0c6a4abad23cba01e216909f45a7064e93911b8ba3e3b394f52379e41898b8c9e1246ba034bc8d2fe6dc83f5cad926e265a17da7c7093d997cfe8b4f3 SHA512 63af6e4359d5fa7bfc3f3669263a36f5d3b5f60c95cf6579d7324bb2116647bb447968b1bab5916e831918344b963d1026116e8cdfb57bce8063ed5ba119c9ea -DIST paperless-ngx-v1.16.5.tar.xz 16442952 BLAKE2B c9b3a2e345603cd931018de28e63820725b54a914bf1723f0d8ddc09f8a573336d75ebe011d1871f068f4f56888e33bc256746773f5ce80b5e8e303f77d0d515 SHA512 c82e65e70cead10e1d282d3e2c617a1da1f06d9acf6c75f2894b07c7e1e93be0c2f53dac475378399776f4a244e59f12c711348c61ca9eed8e8cf55fc6e4bced DIST paperless-ngx-v1.17.4.tar.xz 16507140 BLAKE2B 34e67810dc9264cfcfec5a62557f5c102aedb82d8f31b27302e01675b84cb39cb22925339263cd8908e828d91b3469895732962e50c2b6bc62d266222b3072c4 SHA512 eb225244d51db0ba0db9fca259825ab542448f5f9904d2bf55ad581f16a9386696457593df2ad5eda6df5eefb296f0ee0c0f27e6fc0eff8956807aedf20e0094 -EBUILD paperless-ngx-1.16.5.ebuild 4808 BLAKE2B b9bcde73b6ceafd161d13cce8d937ef867b7012a0dc549003d9e56080022e3824f4237531ab944492d14c7013e4d9b0b6f0cf48953df29e60f13565bfc33275d SHA512 4b54a7fe2ede42b91edc9a83b6cd9359f58a993aea897e1ddcfeb734cd327436f18cef05875f6bebfc938f80cdc12a1cccd69a8ed54dde901db1fe2a544c085a +DIST paperless-ngx-v2.0.1.tar.xz 60034048 BLAKE2B d95d14d3bb8e859ebece009347af40571d7624224e76d70a6d352c768d1cb29ad6c9dbcab82fece26c6fdf5bcdb3b83086e7d438ef8892813c5b039308d695cd SHA512 7c9ec73a3474f8ebedaca456fd3bdc250831cd0cbd615276f743589f9e93c8d5bef1ac7ec6ec3de273d8134e8e5cd59479bfb1fdc399765938908ecfa87263fd EBUILD paperless-ngx-1.17.4.ebuild 4808 BLAKE2B ea5f1a15653c35c89c7c6df2d8055ed24c95eeb3cb2c8be9f5ebeacde18e194f1c40478f3436d3c5516e04ec0008d56cc1de23c35fd75666fb705fd7ed997bc4 SHA512 403d15f61aa9c99f26a102ac86b64085a4a0ce3d629dab010e88f16531bc8f49b826ada0db6a32a8043997dd73efeffdff067f3dc991b361de54a11843ca78da +EBUILD paperless-ngx-2.0.1.ebuild 6028 BLAKE2B b88dceef2338bfa19b625983f98fee8428ebfca9fcbb2d7a255fc3d7be3bc11b12d7033057e03fffd218a50c5d7fa3b32ad7d4753cb047fb6ecb448b8e2906d9 SHA512 7e5e35aa3d25a3ac6807e3527ddf1a63f827ea3e9967335d71a4e00851eadf076f028023979a21f6fd1adff56363529fea20cc1247b49c41b549d45aaa3ddae9 MISC metadata.xml 659 BLAKE2B bc331f596aa68542a4e27ba044fdc7186eb524b0de650e4d719faff4c20a3ddf1903c7d780b05a58f61d120672d8d7882ac927338fcd048310e5cf78ee55966c SHA512 95fdd2bcd0ab9e144a8284c4047a2e8509fc68786d9304cd968956d4d74379f2f79496c08ca231fa6e6d527a1ecc565b30c3d12506942c7514876c3a397b7217 diff --git a/www-apps/paperless-ngx/paperless-ngx-1.16.5.ebuild b/www-apps/paperless-ngx/paperless-ngx-2.0.1.ebuild index 46981ec..db597e2 100644 --- a/www-apps/paperless-ngx/paperless-ngx-1.16.5.ebuild +++ b/www-apps/paperless-ngx/paperless-ngx-2.0.1.ebuild @@ -1,8 +1,11 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit systemd + +PYTHON_COMPAT=( python3_{9..11} ) + +inherit python-single-r1 systemd DESCRIPTION="Community supported paperless: scan, index and archive your physical documents" HOMEPAGE="https://github.com/paperless-ngx/paperless-ngx" @@ -12,8 +15,11 @@ S="${WORKDIR}/${PN}" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" -IUSE="compression mysql +ocr postgres remote-redis +sqlite" -REQUIRED_USE="|| ( mysql postgres sqlite )" +IUSE="audit compression mysql +ocr postgres remote-redis +sqlite" +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + || ( mysql postgres sqlite ) +" ACCT_DEPEND=" acct-group/paperless @@ -28,59 +34,67 @@ EXTRA_DEPEND=" DEPEND=" ${ACCT_DEPEND} ${EXTRA_DEPEND} + ${PYTHON_DEPS} app-text/poppler[utils] - dev-python/asgiref - dev-python/bleach - dev-python/celery - >=dev-python/channels-4.0 - >=dev-python/channels-redis-4.0 - dev-python/concurrent-log-handler - >=dev-python/dateparser-1.1 - >=dev-python/django-4.1.9 - dev-python/django-celery-results - dev-python/django-cors-headers - dev-python/django-extensions - >=dev-python/django-filter-22.1 - dev-python/django-guardian - dev-python/django-redis - >=dev-python/djangorestframework-3.14 - dev-python/djangorestframework-guardian - dev-python/filelock - dev-python/imap-tools - >=dev-python/inotifyrecursive-0.3 - dev-python/langdetect - dev-python/nltk - dev-python/pathvalidate - dev-python/pdf2image - dev-python/pikepdf - dev-python/pillow - dev-python/python-dateutil - dev-python/python-dotenv - dev-python/python-gnupg - dev-python/python-ipware - dev-python/python-magic - dev-python/pyzbar - dev-python/rapidfuzz - dev-python/redis - dev-python/reportlab - dev-python/tqdm - dev-python/uvicorn - >=dev-python/watchdog-2.2 - >=dev-python/whitenoise-6.3 - >=dev-python/whoosh-2.7 + $(python_gen_cond_dep ' + dev-python/asgiref[${PYTHON_USEDEP}] + dev-python/bleach[${PYTHON_USEDEP}] + dev-python/celery[${PYTHON_USEDEP}] + >=dev-python/channels-4.0[${PYTHON_USEDEP}] + >=dev-python/channels-redis-4.0[${PYTHON_USEDEP}] + dev-python/concurrent-log-handler[${PYTHON_USEDEP}] + >=dev-python/dateparser-1.1[${PYTHON_USEDEP}] + >=dev-python/django-4.2.7[${PYTHON_USEDEP}] + dev-python/django-celery-results[${PYTHON_USEDEP}] + dev-python/django-cors-headers[${PYTHON_USEDEP}] + dev-python/django-extensions[${PYTHON_USEDEP}] + >=dev-python/django-filter-23.3[${PYTHON_USEDEP}] + dev-python/django-guardian[${PYTHON_USEDEP}] + dev-python/django-multiselectfield[${PYTHON_USEDEP}] + dev-python/django-redis[${PYTHON_USEDEP}] + >=dev-python/djangorestframework-3.14[${PYTHON_USEDEP}] + dev-python/djangorestframework-guardian[${PYTHON_USEDEP}] + dev-python/drf-writable-nested[${PYTHON_USEDEP}] + dev-python/filelock[${PYTHON_USEDEP}] + dev-python/imap-tools[${PYTHON_USEDEP}] + >=dev-python/inotifyrecursive-0.3[${PYTHON_USEDEP}] + dev-python/langdetect[${PYTHON_USEDEP}] + dev-python/nltk[${PYTHON_USEDEP}] + dev-python/pathvalidate[${PYTHON_USEDEP}] + dev-python/pdf2image[${PYTHON_USEDEP}] + dev-python/pikepdf[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/python-dotenv[${PYTHON_USEDEP}] + dev-python/python-gnupg[${PYTHON_USEDEP}] + dev-python/python-ipware[${PYTHON_USEDEP}] + dev-python/python-magic[${PYTHON_USEDEP}] + dev-python/pyzbar[${PYTHON_USEDEP}] + dev-python/rapidfuzz[${PYTHON_USEDEP}] + dev-python/redis[${PYTHON_USEDEP}] + dev-python/reportlab[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] + dev-python/uvicorn[${PYTHON_USEDEP}] + >=dev-python/watchdog-3.0[${PYTHON_USEDEP}] + >=dev-python/whitenoise-6.6[${PYTHON_USEDEP}] + >=dev-python/whoosh-2.7[${PYTHON_USEDEP}]') media-gfx/imagemagick media-gfx/optipng media-libs/jbig2enc - >=sci-libs/scikit-learn-1.2 + >=sci-libs/scikit-learn-1.3 www-servers/gunicorn - compression? ( dev-python/django-compression-middleware ) + audit? ( $(python_gen_cond_dep ' + dev-python/django-auditlog[${PYTHON_USEDEP}]') ) + compression? ( $(python_gen_cond_dep ' + dev-python/django-compression-middleware[${PYTHON_USEDEP}]') ) mysql? ( dev-python/mysqlclient ) - ocr? ( >=app-text/OCRmyPDF-14.0 ) + ocr? ( >=app-text/OCRmyPDF-15.0 ) postgres? ( dev-python/psycopg:2 ) !remote-redis? ( dev-db/redis ) " RDEPEND="${DEPEND}" # dev-python/tika +# dev-python/gotenberg-client # dev-python/zxing-cpp DOCS=( docker/imagemagick-policy.xml ) @@ -96,7 +110,12 @@ src_prepare() { -e "s|#PAPERLESS_CONVERT_TMPDIR=/var/tmp/paperless|PAPERLESS_CONVERT_TMPDIR=/var/lib/paperless/tmp|" \ -i "paperless.conf" || die "Cannot update paperless.conf" - echo -e "\n# Custom\nPAPERLESS_ENABLE_COMPRESSION=$(use compression && echo 1 || echo 0)" >> "paperless.conf" + cat >> "paperless.conf" <<- EOF + + # Custom + PAPERLESS_ENABLE_COMPRESSION=$(use compression && echo true || echo false) + PAPERLESS_AUDIT_LOG_ENABLED=$(use audit && echo true || echo false) + EOF } src_install() { |