From 4ea138b1bce95575e6813d2b1dc1aedd01542c98 Mon Sep 17 00:00:00 2001 From: Puqns67 Date: Wed, 16 Oct 2024 01:18:18 +0800 Subject: [PATCH] app-misc/ncmlyrics: add 0.1.0_alpha3, drop 0.1.0_alpha2 --- app-misc/ncmlyrics/Manifest | 2 +- ..._alpha2.ebuild => ncmlyrics-0.1.0_alpha3.ebuild} | 13 ++++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) rename app-misc/ncmlyrics/{ncmlyrics-0.1.0_alpha2.ebuild => ncmlyrics-0.1.0_alpha3.ebuild} (63%) diff --git a/app-misc/ncmlyrics/Manifest b/app-misc/ncmlyrics/Manifest index f176f6c..ab0ed0f 100644 --- a/app-misc/ncmlyrics/Manifest +++ b/app-misc/ncmlyrics/Manifest @@ -1 +1 @@ -DIST ncmlyrics-0.1.0a2.tar.gz 33186 BLAKE2B bf7ae1c11140c9d1484e4d1d127be345c03779c8a2e3ff89af46970055ab07c91915773864268bdeec37a3c9ea46dbf117a30d6af0e8785117a1c14d3074051c SHA512 169a8b569b2a7e95d612782d4e161ca5ed06b5beee84150ca2f628347800a0f7dac99db05b82fecd739e6004cd0be7c2f95f665a7a4aeae1b375bb2494b3f238 +DIST ncmlyrics-0.1.0a3.tar.gz 34243 BLAKE2B 2fd3dc7231ad0666acee27cdfe5fb38da6da019184dcc000df6026d0b8b1ae910896ad91679b050c1edae32aaffd60f919d033635a78d3ca851fc72fe211e9c0 SHA512 aaf1e524bb76c74f89dc1b1ce4dcb83d8a5b7cec06d9c1f88edbfe1ddf56f5adc27419f517864f223222b3a08ff4058856af34d7eb8702fedc9da19f045d4349 diff --git a/app-misc/ncmlyrics/ncmlyrics-0.1.0_alpha2.ebuild b/app-misc/ncmlyrics/ncmlyrics-0.1.0_alpha3.ebuild similarity index 63% rename from app-misc/ncmlyrics/ncmlyrics-0.1.0_alpha2.ebuild rename to app-misc/ncmlyrics/ncmlyrics-0.1.0_alpha3.ebuild index 963d11f..6652e74 100644 --- a/app-misc/ncmlyrics/ncmlyrics-0.1.0_alpha2.ebuild +++ b/app-misc/ncmlyrics/ncmlyrics-0.1.0_alpha3.ebuild @@ -6,9 +6,9 @@ EAPI=8 DISTUTILS_USE_PEP517="hatchling" PYTHON_COMPAT=( python3_{12..13} ) -inherit distutils-r1 pypi +inherit distutils-r1 pypi optfeature -DESCRIPTION="No description now" +DESCRIPTION="No description at now." HOMEPAGE=" https://github.com/Puqns67/ncmlyrics https://pypi.org/project/ncmlyrics/ @@ -20,12 +20,15 @@ KEYWORDS="~amd64 ~riscv" RDEPEND=" dev-python/httpx[${PYTHON_USEDEP}] - dev-python/h2[${PYTHON_USEDEP}] dev-python/rich[${PYTHON_USEDEP}] - dev-python/brotlicffi[${PYTHON_USEDEP}] - dev-python/zstandard[${PYTHON_USEDEP}] dev-python/click[${PYTHON_USEDEP}] dev-python/platformdirs[${PYTHON_USEDEP}] " distutils_enable_tests unittest + +pkg_postinst() { + optfeature "HTTP/2 support" dev-python/h2 + optfeature "Decoding Brotli compressed responses support" dev-python/brotlicffi + optfeature "Decoding Zstandard compressed responses support" dev-python/zstandard +}