diff --git a/com.jeffser.Alpaca.json b/com.jeffser.Alpaca.json index 380be7bc..21adbbec 100644 --- a/com.jeffser.Alpaca.json +++ b/com.jeffser.Alpaca.json @@ -23,18 +23,6 @@ "*.a" ], "modules" : [ - { - "name": "requests", - "buildsystem": "simple", - "build-options": { - "build-args": [ - "--share=network" - ] - }, - "build-commands": [ - "pip3 install --prefix=/app --no-cache-dir requests" - ] - }, { "name" : "alpaca", "builddir" : true, @@ -42,10 +30,11 @@ "sources" : [ { "type" : "git", - "url" : "https://github.com/Jeffser/Alpaca.git" + "url" : "https://github.com/Jeffser/Alpaca.git", + "branch": "main" } ] - } - + }, + "python3-requests.json" ] } diff --git a/python3-requests.json b/python3-requests.json new file mode 100644 index 00000000..c96dc4e5 --- /dev/null +++ b/python3-requests.json @@ -0,0 +1,34 @@ +{ + "name": "python3-requests", + "buildsystem": "simple", + "build-commands": [ + "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"requests\" --no-build-isolation" + ], + "sources": [ + { + "type": "file", + "url": "https://files.pythonhosted.org/packages/ba/06/a07f096c664aeb9f01624f858c3add0a4e913d6c96257acb4fce61e7de14/certifi-2024.2.2-py3-none-any.whl", + "sha256": "dc383c07b76109f368f6106eee2b593b04a011ea4d55f652c6ca24a754d1cdd1" + }, + { + "type": "file", + "url": "https://files.pythonhosted.org/packages/63/09/c1bc53dab74b1816a00d8d030de5bf98f724c52c1635e07681d312f20be8/charset-normalizer-3.3.2.tar.gz", + "sha256": "f30c3cb33b24454a82faecaf01b19c18562b1e89558fb6c56de4d9118a032fd5" + }, + { + "type": "file", + "url": "https://files.pythonhosted.org/packages/e5/3e/741d8c82801c347547f8a2a06aa57dbb1992be9e948df2ea0eda2c8b79e8/idna-3.7-py3-none-any.whl", + "sha256": "82fee1fc78add43492d3a1898bfa6d8a904cc97d8427f683ed8e798d07761aa0" + }, + { + "type": "file", + "url": "https://files.pythonhosted.org/packages/70/8e/0e2d847013cb52cd35b38c009bb167a1a26b2ce6cd6965bf26b47bc0bf44/requests-2.31.0-py3-none-any.whl", + "sha256": "58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f" + }, + { + "type": "file", + "url": "https://files.pythonhosted.org/packages/a2/73/a68704750a7679d0b6d3ad7aa8d4da8e14e151ae82e6fee774e6e0d05ec8/urllib3-2.2.1-py3-none-any.whl", + "sha256": "450b20ec296a467077128bff42b73080516e71b56ff59a60a02bef2232c4fa9d" + } + ] +} \ No newline at end of file