*/*: bump feeluown packages (#3581)
This commit is contained in:
1 parent
86d991a4ed
commit
52d1dd2496
9 files changed
+5
-65
No files matched your search
@@ -1 +1 @@
|
||||
DIST feeluown_bilibili-0.1.5.tar.gz 54756 BLAKE2B ab58acb7a55c37999b96497ea0fc82879f82f37714bf3ecac3f369973e107bb378ebe57c4feb08f3076bd544ad87a7abca75803bb9ab22fd168960e93de9c972 SHA512 e32b7ad1f9fa59fd5e61ab0b3863188c9348980ca083aed69a72655cc5ed06713d80949750038fe6646ee682c87a131feadbd8b2fcf174a37d91fa9c8a0f669d
|
||||
DIST feeluown-bilibili-0.3.tar.gz 56420 BLAKE2B b8f1db0ef520c9d315f5e7200cac1d50604be012f79153a6cfd72e3c91d678e80f739431ed6162b4e81ce5f641e2c90e99afb381b332b630332baf14a844743c SHA512 c434b1763e4f429619452a6ecf64dc50fe6db6c3fabbfce640c5d5e56f8eaa01f1f38d3b5651c4d2b9bd70876bd40c292a1a00549302e54f958cadb524a93eee
|
||||
+1
-5
@@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
PYPI_NO_NORMALIZE=true
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="bilibili support for feeluown"
|
||||
@@ -24,10 +24,6 @@ PDEPEND="
|
||||
media-sound/feeluown
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.1.5-replace-pycryptodomex.patch"
|
||||
)
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
-55
@@ -1,55 +0,0 @@
|
||||
From debeec6349611107f8421ef7f4c5cbf1effac4b7 Mon Sep 17 00:00:00 2001
|
||||
From: wgjak47 <ak47m61@gmail.com>
|
||||
Date: Tue, 20 Jun 2023 21:58:45 +0800
|
||||
Subject: [PATCH] feat: replace pycryptodomex with pycryptodome
|
||||
|
||||
---
|
||||
fuo_bilibili/util.py | 4 +-
|
||||
pyproject.toml | 2 +-
|
||||
setup.py | 2 +-
|
||||
5 files changed, 205 insertions(+), 244 deletions(-)
|
||||
|
||||
diff --git a/fuo_bilibili/util.py b/fuo_bilibili/util.py
|
||||
index bc9db3d..576ff6c 100644
|
||||
--- a/fuo_bilibili/util.py
|
||||
+++ b/fuo_bilibili/util.py
|
||||
@@ -11,8 +11,8 @@ def rsa_encrypt(text: str, public_key: str) -> str:
|
||||
:return:
|
||||
"""
|
||||
import base64
|
||||
- from Cryptodome.PublicKey import RSA
|
||||
- from Cryptodome.Cipher import PKCS1_v1_5
|
||||
+ from Crypto.PublicKey import RSA
|
||||
+ from Crypto.Cipher import PKCS1_v1_5
|
||||
key = RSA.import_key(public_key.encode())
|
||||
encrypted = PKCS1_v1_5.new(key).encrypt(text.encode())
|
||||
return base64.b64encode(encrypted).decode()
|
||||
diff --git a/poetry.lock b/poetry.lock
|
||||
index 752b3e7..127cb3b 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -14,7 +14,7 @@ python = "^3.10"
|
||||
feeluown = ">=3.8.7"
|
||||
cachetools = "*"
|
||||
beautifulsoup4 = "*"
|
||||
-pycryptodomex = "*"
|
||||
+pycryptodome = "*"
|
||||
|
||||
[tool.poetry.dev-dependencies]
|
||||
pytest = "*"
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 0f696b6..4e629ae 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -11,7 +11,7 @@ package_data = \
|
||||
{'': ['*'], 'fuo_bilibili': ['assets/*']}
|
||||
|
||||
install_requires = \
|
||||
-['beautifulsoup4', 'cachetools', 'feeluown>=3.8.7', 'pycryptodomex']
|
||||
+['beautifulsoup4', 'cachetools', 'feeluown>=3.8.7', 'pycryptodome']
|
||||
|
||||
entry_points = \
|
||||
{'fuo.plugins_v1': ['bilibili = fuo_bilibili']}
|
||||
--
|
||||
2.39.3
|
||||
|
||||
@@ -1 +1 @@
|
||||
DIST fuo_qqmusic-0.5.0.tar.gz 17566 BLAKE2B d145b850e17f46f2da8ded64c6c010d0a4197b97373d020ea827dd774f569f3a017cf0bee57810c1c5f38531031f5f3a259a7e7a1ad80d54dfd485dbba91e88a SHA512 481eb3490d95230806f79ccdb5278f7d956c41d6f8b79c8b08bb22478942854a2cbe966b84cb1de57fe86eeea48a390c5b43973370d9d1289241a1e68bd36472
|
||||
DIST fuo_qqmusic-0.5.1.tar.gz 18318 BLAKE2B 70f157358513ccee64050a1644f97050753d2c5dca402170207e5e39cf9d84b70f428f36e86ccf8769c6ddefe8de65807fac008db64974e4548e8ce645d36515 SHA512 7fc132949e6a52315cafe97926c2ce4ceeda3a19e594df65b0530e844270ecea22aa8cb5233f66f6c79eec2feedf682fc3eb07cbdad8f91fb057cf4a3736f2cc
|
||||
File renamed without changes.
@@ -1 +1 @@
|
||||
DIST fuo-ytmusic-0.2.0.gh.tar.gz 53182 BLAKE2B 3545d8ea2e0333636deab29d33459d1e42efd92bed65a478a371b9853ecebf8a9e1448e773efd10631e4fb46c4c5a9f3761d1ede8b7c7fa5a1e3f8395f0b9ca7 SHA512 01e6f73581646a94925488fc885210d14a15f863f47c8ab560c5dcb0544acc1d61f16a1c0716a67e7c560c4584cbdfa31d54f09bfa29cc07cb2575428fedcd24
|
||||
DIST fuo-ytmusic-0.3.1.gh.tar.gz 65754 BLAKE2B 5bcab0c83fbe9c4290472e1dbd6095dcf7d705040476e6e4a957bc3a173cef8dc9bc6e2ecacd8e7f1acb60ecf95ba6df81cb089c4ba01f617576e0ce6e98ae05 SHA512 5a4e887c0f799c0f42f2d8085c62021e063b6172eafd805a42a2afb0518aa178ed964c390906eba9a68205a2d482c0c4e44e37caba75e2497959ff57fecabfc6
|
||||
-1
@@ -21,7 +21,6 @@ RDEPEND="
|
||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
||||
dev-python/pycryptodome[${PYTHON_USEDEP}]
|
||||
dev-python/cachetools[${PYTHON_USEDEP}]
|
||||
dev-python/pytube[${PYTHON_USEDEP}]
|
||||
dev-python/ytmusicapi[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
Reference in new issue
Block a user