Commit Graph
169 Commits
Author SHA1 Message Date
Benson Muite 3e7d495b95 Replace python clint by python progress 2026-04-13 14:44:20 +00:00
Benson Muite c47c39794f Conform to PEP 639
- Use full SPDX license identifier
- Add link to license file
- Remove outdated license specifier
2026-03-19 17:55:13 +00:00
linsui 5887c5e8db update ruamel.yaml version restriction 2026-01-19 22:10:02 +08:00
Hans-Christoph Steiner 753b73041b add Python 3.14 as supported 2025-12-03 19:07:25 +01:00
Hans-Christoph Steiner 171cf77cc3 rm config.buildserver.yml, ANDROID_HOME set in /etc/profile.d/bsenv.sh
`fdroid build_local_run` has been running without this for a long time.
2025-11-26 11:50:58 +00:00
Hans-Christoph Steiner 76673627fc new subcommand "up" for vagrant up and `podman run 2025-10-20 15:38:00 +02:00
paul mayero dbd769db9f Remove libcloud and s3cmd from fdroidserver 2025-09-17 11:36:12 +00:00
Hans-Christoph Steiner 193ca5842c version 2.4.2 2025-06-24 21:52:38 +02:00
Hans-Christoph Steiner f953146505 version 2.4.1 2025-06-23 22:37:29 +02:00
Benson Muite c4d46a187f Clarify libmagic needs to be installed separately
See installation instructions at https://pypi.org/project/python-magic/
2025-04-12 14:54:36 +03:00
Hans-Christoph Steiner c98028136a version 2.4.0 2025-03-25 12:13:57 +01:00
Hans-Christoph Steiner c17a9253ff version 2.4 alpha 2 2025-03-20 15:04:20 +01:00
Hans-Christoph Steiner edd88cc701 version 2.4 alpha 1 2025-03-19 17:45:15 +01:00
Hans-Christoph Steiner f719efcba0 version 2.3.5 2025-01-21 16:43:22 +01:00
Hans-Christoph Steiner 3b64dcee7a version 2.3.4 2024-12-12 17:43:43 +01:00
Hans-Christoph Steiner c631ca7142 version 2.3.3 2024-12-11 12:51:34 +01:00
Hans-Christoph Steiner 6d40e8fa27 extras_require: python-magic is preferred when libmagic is available 2024-12-06 12:26:45 +01:00
Hans-Christoph Steiner 46dba20ba3 setup.py: update classifiers 2024-12-06 12:26:42 +01:00
Hans-Christoph Steiner 11aee5b325 version 2.3.2 2024-11-26 22:17:08 +01:00
Hans-Christoph Steiner fe29f56238 version 2.3.1 2024-11-25 17:38:02 +01:00
Hans-Christoph Steiner 1b0fabe8f5 install biplist and pycountry by default on macOS
* biplist is only used for Apple iOS IPA files.
* pycountry is only used for linting countryCodes in mirror configs.

Both of these are included via the Debian packaging, where those packages
and updates are more vetted.  Homebrew for macOS makes it very difficult to
include optional dependencies, so this includes the optional dependencies
via distutils' method.
2024-11-25 15:28:43 +01:00
Jochen Sprickerhof 8a5359ab3f scanner: replace deprecated imghdr with libmagic/puremagic
libmagic's Python bindings detect more types, puremagic is pure Python.

imghdr was dropped in Python 3.13.

This reverts commit 3bc246ccad.
2024-11-25 13:26:38 +01:00
Hans-Christoph Steiner eae5ae3ae8 version 2.3.0 2024-11-21 16:49:01 +01:00
linsui eff0ef48f4 scanner: support libs.versions.toml 2024-09-23 16:35:27 +08:00
Hans-Christoph Steiner a0c1029fee version 2.3 alpha 2 2024-09-10 11:26:10 +02:00
Jochen Sprickerhof e1aaa3ce93 Replace unmaintained appdirs by platformdirs
https://github.com/ActiveState/appdirs/commit/8734277956c1df3b85385e6b308e954910533884
2024-07-25 08:36:45 +02:00
Hans-Christoph Steiner b45b31b927 version 2.3 alpha 1 2024-05-13 10:45:09 +02:00
Hans-Christoph Steiner 9a327b5097 reliable implementation of get_first_signer_certificate()
This keeps key pieces of @linsui's algorithm, specifically the check
that all certificates are the same.  apksigner also does this check.

closes #1128
2024-05-07 16:22:59 +02:00
Hans-Christoph Steiner 93f361c623 replace decade old pyasn1 crypto impl with working asn1crypto
For some APKs, get_certificate() was returning a different result than
apksigner and keytool.  So I just took the algorithm from androguard, which
uses asn1crypto instead of pyasn1.  So that removes a dependency as well.
asn1crypto is already required by androguard.

The original get_certificate() came from 6e2d0a9e1
2024-05-07 16:22:59 +02:00
Hans-Christoph Steiner 1c84f63247 replace deprecated get_element() which was removed in 4.x
/usr/lib/python3/dist-packages/androguard/core/bytecodes/apk.py:884: DeprecationWarning: This method is deprecated since 3.3.5.

It was added in 3.3.5.  Debian/bullseye and Ubuntu/20.04/focal both include
new enough versions.  Debian/buster's is too old (3.3.3).
2024-04-25 12:39:12 +02:00
Hans-Christoph Steiner 7a144a4762 port to androguard >= 4 and drop support for older than 3.3.3
This also makes androguard a hard requirement, which has been true for a
while anyway.  So the code that handles androguard as an optional
requirement is removed.  androguard from Debian/buster is new enough, so
this does not seem like it will cause any problems.
2024-04-25 12:39:12 +02:00
Jochen Sprickerhof 4389168588 Drop version locking on pyasn1
I did not find any reason for this.
2024-04-10 09:30:34 +00:00
Hans-Christoph Steiner 6781525ddd use appdirs to get easy cross-platform standard directories
This is more important to get right now, with `fdroid install`, which
should work easily on all platforms.
2024-03-14 12:43:02 +00:00
Michael Pöhn 881943a0db 🥔 install biplist for ci tests
biplist is an optional python dependency required for processing iOS
apps. (.ipa files)
2024-01-11 12:02:52 +01:00
Hans-Christoph Steiner 2f84ce36da androguard 4 came out, and has breaking changes 2023-12-15 08:40:27 +01:00
Hans-Christoph Steiner e2949cbd61 port to looseversion 2023-12-08 10:48:01 +01:00
Andrew Gunnerson 679ba6f552 Add support for Python 3.12
Python 3.12 completely removed the builtin `distutils` module. This
commit replaces its use with the `packaging` package, which is an
external dependency, but maintained by the Python developers.

Signed-off-by: Andrew Gunnerson <accounts+gitlab@chiller3.com>
2023-12-07 18:15:05 -05:00
linsui 6a7a6e310b set ruamel.yaml version to older than 1.17.22
Newer version changed the behavior
2023-11-23 12:17:56 +00:00
Alex Gaynor 5660e7089d Don't specify a release candidate in version constraint for androguard dependency
This causes pip to include pre-releases for all dependencies, which is unfortunate in many cases.
2023-07-08 16:24:00 +00:00
Hans-Christoph Steiner a692cd9d72 hooks/pre-commit: enable pydocstyle, if installed 2023-04-28 10:55:21 +02:00
Hans-Christoph Steiner 0dd5a7db64 remove NDK download handling in favor of fdroid/sdkmanager 2023-04-11 13:54:05 +02:00
Hans-Christoph Steiner 1f6eab8365 set dev version: 2.3 alpha 0 2023-03-09 16:00:50 +01:00
Hans-Christoph Steiner 35a1cb20e6 version 2.2.1 2023-03-09 14:53:00 +01:00
Hans-Christoph Steiner d0d15a205f version 2.2.0 2023-02-20 22:44:41 +01:00
FestplattenSchnitzel beb49eea48 Stop packaging makebuildserver script
makebuildserver requires this repository to be cloned locally.
Fixes #1014.
2023-02-16 21:07:36 +00:00
FestplattenSchnitzel ada36a3ee5 Fix l10n broken in venvs 2023-02-16 21:07:36 +00:00
FestplattenSchnitzel 625dc11930 Require Python 3.9 2022-10-24 09:17:27 +00:00
Hans-Christoph Steiner f97dc0d010 version 2.2 alpha 0 2022-10-11 16:36:13 +02:00
Hans-Christoph Steiner d566628ad8 version 2.1 2022-02-22 23:19:19 +01:00
Hans-Christoph Steiner 36a7b83be1 version 2.1b0 2022-02-15 23:45:22 +01:00