Skip to content

Commit

Permalink
filetype recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
jessopb committed Dec 2, 2022
1 parent d9d8195 commit c41a17f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish Assets

on:
push:
branches: [master]
branches: [master, update-deps-incremental]

jobs:
build_arm64_aar:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ p4a/pythonforandroid/bootstraps/lbry/build/templates/google-services.json

p4a/*.apk
p4a/*.aar
venv
2 changes: 1 addition & 1 deletion buildozer.spec.arm64.ci
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ version.filename = %(source.dir)s/main.py

# (list) Application requirements
# comma seperated e.g. requirements = sqlite3,kivy
requirements = python3crystax, openssl, sqlite3, hostpython3crystax, android, distro==1.4.0, pyjnius, certifi==2021.5.30, appdirs==1.4.3, docopt==0.6.2, base58==1.0.0, colorama==0.3.7, ecdsa==0.13.3, jsonschema==2.6.0, pbkdf2==1.3, pyyaml, protobuf==3.6.1, keyring==21.0.0, defusedxml, netifaces, aioupnp==0.0.17, asn1crypto, mock, cryptography, aiohttp==3.6.0, multidict==4.5.2, idna, yarl==1.3.0, chardet==3.0.4, async_timeout==3.0.1, coincurve, msgpack==0.6.1, six, attrs==18.2.0, pylru, hachoir, prometheus_client==0.8.0, "git+https://github.com/lbryio/[email protected]#egg=lbry"
requirements = python3crystax, openssl, sqlite3, hostpython3crystax, android, distro==1.4.0, pyjnius, certifi==2021.5.30, appdirs==1.4.3, docopt==0.6.2, base58==1.0.0, colorama==0.3.7, ecdsa==0.13.3, jsonschema==2.6.0, pbkdf2==1.3, pyyaml, protobuf==3.6.1, keyring==21.0.0, defusedxml, filetype, netifaces, aioupnp==0.0.17, asn1crypto, mock, cryptography, aiohttp==3.6.0, multidict==4.5.2, idna, yarl==1.3.0, chardet==3.0.4, async_timeout==3.0.1, coincurve, msgpack==0.6.1, six, attrs==18.2.0, pylru, hachoir, prometheus_client==0.8.0, "git+https://github.com/lbryio/[email protected]#egg=lbry"

# (str) Custom source folders for requirements
# Sets custom source for any requirements with recipes
Expand Down
13 changes: 13 additions & 0 deletions recipes/filetype/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from pythonforandroid.recipe import PythonRecipe


class FileTypeRecipe(PythonRecipe):

# TODO: version
url = 'https://github.com/h2non/filetype.py/archive/refs/tags/v1.2.0.zip'

depends = ['setuptools']

call_hostpython_via_targetpython = False

recipe = FileTypeRecipe()

0 comments on commit c41a17f

Please sign in to comment.