mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-11 12:20:52 +00:00
- Fixes this error during Repology auto updates:
```
Traceback (most recent call last):
File "/home/runner/work/termux-packages/termux-packages/scripts/updates/api/dump-repology-data", line 26, in <module>
from requests import get as requests_get
ModuleNotFoundError: No module named 'requests'
```
%ci:no-build
16 lines
634 B
Bash
16 lines
634 B
Bash
TERMUX_PKG_HOMEPAGE=https://apt-team.pages.debian.net/python-apt/
|
|
TERMUX_PKG_DESCRIPTION="Python bindings for APT"
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="3.1.0"
|
|
TERMUX_PKG_SRCURL=https://ftp.debian.org/debian/pool/main/p/python-apt/python-apt_${TERMUX_PKG_VERSION}.tar.xz
|
|
TERMUX_PKG_SHA256=daf46b0ed85061ccee64c3aa3004c695b33047f9f62f0de7863966c287731d5a
|
|
TERMUX_PKG_DEPENDS="apt, libandroid-support, libc++, python"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_PYTHON_COMMON_BUILD_DEPS="wheel"
|
|
|
|
termux_step_pre_configure() {
|
|
export DEBVER="${TERMUX_PKG_VERSION#*:}"
|
|
}
|