惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
DataBreaches.Net
V
Vulnerabilities – Threatpost
C
CERT Recently Published Vulnerability Notes
Google DeepMind News
Google DeepMind News
GbyAI
GbyAI
Y
Y Combinator Blog
T
Threatpost
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Project Zero
Project Zero
Engineering at Meta
Engineering at Meta
MongoDB | Blog
MongoDB | Blog
MyScale Blog
MyScale Blog
Security Latest
Security Latest
T
Threat Research - Cisco Blogs
量子位
I
Intezer
Simon Willison's Weblog
Simon Willison's Weblog
C
Cybersecurity and Infrastructure Security Agency CISA
L
Lohrmann on Cybersecurity
L
LINUX DO - 最新话题
The Register - Security
The Register - Security
T
Tailwind CSS Blog
爱范儿
爱范儿
Google DeepMind News
Google DeepMind News
T
Troy Hunt's Blog
Stack Overflow Blog
Stack Overflow Blog
Cloudbric
Cloudbric
S
Secure Thoughts
The GitHub Blog
The GitHub Blog
T
The Blog of Author Tim Ferriss
L
LangChain Blog
Recorded Future
Recorded Future
小众软件
小众软件
www.infosecurity-magazine.com
www.infosecurity-magazine.com
T
Tor Project blog
人人都是产品经理
人人都是产品经理
F
Full Disclosure
O
OpenAI News
Webroot Blog
Webroot Blog
A
Arctic Wolf
TaoSecurity Blog
TaoSecurity Blog
P
Privacy & Cybersecurity Law Blog
Jina AI
Jina AI
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
雷峰网
雷峰网
Microsoft Security Blog
Microsoft Security Blog
H
Heimdal Security Blog
B
Blog RSS Feed
Vercel News
Vercel News

AUR Newest Packages

AUR (en) - xcute AUR (en) - wallrift AUR (en) - smolvm-git AUR (en) - android-cli AUR (en) - rs-top AUR (en) - rudo-bin AUR (en) - marmalade-bin AUR (en) - clawx-appimage AUR (en) - echomusic-appimage AUR (en) - vermouth AUR (en) - mautrix-telegram-bin AUR (en) - ketesa AUR (en) - clawd-on-desk-bin AUR (en) - rebased-bin AUR (en) - oxideterm-bin AUR (en) - shed-sh AUR (en) - quillscribe AUR (en) - haus-bin AUR (en) - stably-orca-bin AUR (en) - reflection AUR (en) - emerald-legacy-launcher-git AUR (en) - kwim AUR (en) - omarchy-emacs AUR (en) - pentest-ghostwriter AUR (en) - papagaia AUR (en) - outport-bin AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - neovim-base16-git AUR (en) - rpi-imager-git-non-root AUR (en) - python-fastapi-sso AUR (en) - zeed-bin AUR (en) - dwl-git-azerty AUR (en) - libspatialaudio-git AUR (en) - libspatialaudio AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-git AUR (en) - giff-git AUR (en) - budget-tracker-bin AUR (en) - budget-tracker AUR (en) - codebase-memory-mcp-bin AUR (en) - codebase-memory-mcp-bin AUR (en) - tasks-bin AUR (en) - ruri-git AUR (en) - gitmun-bin AUR (en) - python-cozempic AUR (en) - vim-prosession AUR (en) - paintfe-bin AUR (en) - paintfe AUR (en) - drop-bin AUR (en) - tritium-launcher-bin AUR (en) - solidc-git AUR (en) - paseo-desktop-bin AUR (en) - dota2-minify-bin AUR (en) - yt-dvr AUR (en) - enneagram AUR (en) - excalidraw-desktop-bin AUR (en) - binaryobjectscanner-bin AUR (en) - openring-rs AUR (en) - openring-rs-bin AUR (en) - brave-origin-beta-bin AUR (en) - whisper.cpp-cuda-bin AUR (en) - libggml-cuda-bin AUR (en) - revdiff AUR (en) - tdesktop-nolimit AUR (en) - cert-checker AUR (en) - yaak-cli AUR (en) - yaak-cli-bin AUR (en) - deez-notes-bin AUR (en) - goosestation-libretro AUR (en) - whispers-cuda-bin AUR (en) - kei AUR (en) - foxguard AUR (en) - hyprlogin-git AUR (en) - kebiki AUR (en) - runex AUR (en) - ikuai-cli AUR (en) - whispers-bin AUR (en) - pipeweaver-app AUR (en) - pipeweaver AUR (en) - agentop-bin AUR (en) - cosmic-ext-connected-git AUR (en) - kwin-dual-mode AUR (en) - skwd-daemon AUR (en) - ter-music-cn AUR (en) - mesen-ce-git AUR (en) - elio-bin AUR (en) - keyboard-chattering-fix-git AUR (en) - qtkeychain-qt5 AUR (en) - gesturecontrol AUR (en) - sharey AUR (en) - ouijit-bin AUR (en) - usque-bin AUR (en) - twig-bin AUR (en) - ascendara-bin
AUR (en) - python-qbittorrent-api
2026-06-22 · via AUR Newest Packages
LookupError: setuptools-scm was unable to detect version for /home/fryfrog/.cache/paru/clone/python-qbittorrent-api/src/qbittorrent-api-2023.11.55.

Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.

For example, if you're using pip, instead of https://github.com/user/proj/archive/master.zip use git+https://github.com/user/proj.git#egg=proj

Looks like they suggest using the pypi instead of the github tar balls?

python-setuptools should be in makedepends, it does not build without

python-build and python-installer are needed to make this package and should be added to makedepends. Thanks!

One of the tests, conftest.py, expects the sys.path to be like "$_pkgname" and not "$_pkgname-$pkgver".

I'm sure there's a few ways you could fix this, such as changing extract path or even deleting the assert - I'm not sure why the check is there in the first place, but I just opted to patch the test to accept an env var to override basepath

conftest.patch:

--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -29,7 +29,7 @@

 BASE_PATH = sys_path[0]
 RESOURCES = path.join(BASE_PATH, "tests", "resources")
-assert BASE_PATH.split("/")[-1] == "qbittorrent-api"
+assert BASE_PATH.split("/")[-1] == environ.get("BASE_PATH", "qbittorrent-api")

 _check_limit = 10

And then patched the PKGBUILD as such:

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,9 +11,16 @@
 depends=('python' 'python-requests' 'python-urllib3' 'python-six')
 makedepends=('python-setuptools')
 checkdepends=('python-pytest')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/rmartin16/qbittorrent-api/archive/refs/tags/v$pkgver.tar.gz")
-sha256sums=('43a0d56a66834efb349e7b26b7bba89d803513f4479481e9ac6b033e2513ee91')
-b2sums=('33ecc9e300337976bb893812d0e34eb2b08f481ca3afc60db8d75ecfa1cd2c79a37d0ea892f5dd55b43ade327f458294525290c16805bf60070f04214f882e87')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rmartin16/qbittorrent-api/archive/refs/tags/v$pkgver.tar.gz" 'conftest.patch')
+sha256sums=('43a0d56a66834efb349e7b26b7bba89d803513f4479481e9ac6b033e2513ee91'
+            'a1ab4a551b19dbc9857bf613fb65ebc5ce57709c6c41c57fc86391e61eed3241')
+b2sums=('33ecc9e300337976bb893812d0e34eb2b08f481ca3afc60db8d75ecfa1cd2c79a37d0ea892f5dd55b43ade327f458294525290c16805bf60070f04214f882e87'
+        'f53682e980e596cf7e98a1356d767155e74dc9b4c488f9a81c76da1b8b2f84e4f6515dfe31cd9dd2e705505d851b85a67b2ab763883c887d592c8251aba816ad')
+
+prepare() {
+  cd "$_pkgname-$pkgver"
+  patch -Np1 -i ../conftest.patch
+}

 build() {
   cd "$_pkgname-$pkgver"
@@ -24,8 +31,7 @@
 check() {
   cd "$_pkgname-$pkgver"

-  export PYTHONPATH="build/lib"
-  python setup.py test
+  env PYTHONPATH="build/lib" BASE_PATH="$_pkgname-$pkgver" python setup.py test
 }

 package() {