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 3bc246ccad3169fc3662be9a206953de864bb21d.
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
...
8734277956
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
FestplattenSchnitzel
565d9e4994
Format setup.py with Black
2021-12-16 20:34:38 +01:00
FestplattenSchnitzel
23a4135ccd
Compile translation files on install
...
Solution based on https://stackoverflow.com/questions/40051076/compile-translation-files-when-calling-setup-py-install
2021-12-16 20:13:24 +01:00
Sergey Zolotarev
bd1f82fac5
Add console_scripts to create .exe file during installation on Windows
2021-12-09 11:02:00 +00:00
Jochen Sprickerhof
b6f1f4231a
Drop code for the old wiki
2021-11-24 18:16:07 +01:00
Hans-Christoph Steiner
fa4fdd0773
version 2.1a0
2021-07-01 17:21:35 +02:00
Hans-Christoph Steiner
578ff7069f
Merge branch 'master' into 'docs-numpy'
...
# Conflicts:
# fdroidserver/update.py
2021-06-25 07:25:10 +00:00
Benedikt Brückmann
d168b9c05b
rewrite docstrings to match numpy style guide
2021-06-25 06:28:43 +02:00
Hans-Christoph Steiner
5e1c322f27
this codebase has started to use things introduced in Python 3.5
2021-06-24 21:34:36 +02:00
Benedikt Brückmann
a15581faa9
Draft: set up docs based on docstrings and publish HTML versions
2021-05-10 14:31:51 +00:00