Commit graph

27 commits

Author SHA1 Message Date
Akinwale Ariwodola 7bcd073d97 lbry sdk 0.82.0 2020-09-29 15:37:04 +01:00
Akinwale Ariwodola a8dcc23ab8 fix setuptools recipe 2020-09-29 09:35:47 +01:00
Akinwale Ariwodola ce44cd726a Cleanup lbry recipe. Add certifi recipe. 2020-09-29 09:28:11 +01:00
Akinwale Ariwodola cd42e78292 fix cryptography recipe 2020-09-29 08:43:21 +01:00
Akinwale Ariwodola 68f0452a38
Recipe fixes (#2)
* move recipes around
* finish recipes for sdk
2020-09-28 22:33:09 +01:00
Akinwale Ariwodola 256cd1213f fix merge conflicts 2020-09-24 22:55:55 +01:00
Richard Larkin 7cb14fc7da
Fix/host setuptools3 (#533)
* status

* ♻️ Extract context managers

* 🎨 Fix typo

*  Use python_prefix

*  Remove unused import

* 📦 Trigger pipeline

Co-authored-by: richard <richard@dotmodus>
2020-07-26 21:07:10 +02:00
Richard Larkin bbab8b887a
Remove outdated pil and pkgresources recipes (#524)
* Remove outdated pil and pkgresources recipes

* Removed mention on pip from docs

* Added to broken recipes to pass build

Co-authored-by: richard <richard@dotmodus>
2020-07-02 22:28:49 +02:00
Andre Miras b5b0c9cf4d
🐛 Updates libffi download link, closes #515 (#516) 2020-06-12 17:56:02 +02:00
Richard Larkin 9dc7e41f73
Pin flask version and dependencies (#510)
* Pin flask version and dependencies

* Fix pep8 check

Co-authored-by: richard <richard@dotmodus>
2020-05-29 07:33:32 +02:00
Richard Larkin 2ef99a4924
Fix werkzeug recipe (#509)
Co-authored-by: richard <richard@dotmodus>
2020-05-28 21:56:45 +02:00
Richard Larkin 98345a662e
🔨 Fix context directory, removing distutils reference. (#508)
Co-authored-by: richard <richard@dotmodus>
2020-05-28 07:16:54 +02:00
Richard Larkin 6d00b7940c
Fix markupsafe recipe (#505)
* Fix imports from distutils

* Remove markupsafe exclusion

* Fix python build path

* Remove distutils injection

* 💄 Pep8 fix

Co-authored-by: richard <richard@dotmodus>
2020-05-27 07:07:55 +02:00
Richard Larkin 45875155c5
Remove distribute recipe (#507)
Co-authored-by: richard <richard@dotmodus>
2020-05-27 07:07:12 +02:00
Richard Larkin df56328c10
🐛 Fix wekzeug recipe. closes #468 (#501)
Co-authored-by: richard <richard@dotmodus>
2020-05-18 07:40:31 +02:00
Richard Larkin da8998892b
Fix/pillow (#500)
* 🔨 Fix pillow recipe

* Add missing commit

Co-authored-by: richard <richard@dotmodus>
2020-05-18 07:39:58 +02:00
Richard Larkin d63d43cf98
🔨 Fix pillow recipe (#498)
Co-authored-by: richard <richard@dotmodus>
2020-05-17 14:39:26 +02:00
Andre Miras 2a06bec1db Updates netifaces recipe, leverages python_depends
- Uses the `python_depends` feature introduced in #455
2020-05-13 18:03:11 +02:00
Mirko Galimberti 85177f51ec Add python depends 2020-05-09 13:28:30 +02:00
Andre Miras d61008a94a Adds netifaces recipe, closes #239
Note this is an early version working on the `x86_64` simulator.
It wasn't tested on an arm device.
Requires setuptools to be installed:
```sh
python toolchain.py pip install setuptools
```
Tested with main.py:
```python
import netifaces
print("interfaces:", netifaces.interfaces())
```
And produced the following output in the `x86_64` simulator:
```
Available orientation: KIVY_ORIENTATION=LandscapeLeft LandscapeRight Portrait PortraitUpsideDown
Initializing python
Running main.py: /Users/vagrant/Library/Developer/CoreSimulator/Devices/.../Application/.../testnetifaces.app/YourApp/main.pyc
interfaces: ['lo0', 'gif0', 'stf0', 'en0', 'utun0', 'utun1']
Leaving
```
2020-05-07 16:40:54 +02:00
Andre Miras b1bdfcd028 Uses cd context manager in Python3Recipe.reduce_python() 2020-05-06 20:06:06 +02:00
Andre Miras 2c0a79a817 Uses Python 3 syntax
This is a follow up for #482, uses Python 3 syntax:
- Simplifies `super()` calls
- Removes some unused `super()` (no parent class)
- Removes `object` inheritance
- Drops `IS_PY2` logic
- Drops Python 2 imports
2020-05-06 18:59:20 +02:00
Andre Miras e29d6aa256 Removed Python 2 support
Drops system, host and target Python 2 support.
Note a lot of recipes were having hardcoded reference to
`lib/python2.7/site-packages/` directory. I suspect most
of theses were not working, but the reference has been updated
to `lib/python3.7/site-packages/` following the same hardcoding
pattern. In follow up work we would do a walkthrough each recipes
to fix at least compilation time issues.
Also note the `rebuild_updated_recipes.py` is expected to fail as
this is touching many recipes including recipes that were already
broken.
2020-05-06 15:46:34 +02:00
Andre Miras 8a4e5b43c9 Migrates libffi build to Python 3
Issue reported libffi upstream:
https://github.com/libffi/libffi/pull/563

Also updates `rebuild_updated_recipes.py` following up #472
2020-05-06 15:03:20 +02:00
Andre Miras e786a30b90 Fixes a regression introduced during the linting
https://github.com/kivy/kivy-ios/pull/451/files#diff-e34220312893036b30eb8d11b5cc12d7R1495
2020-05-05 16:34:22 +02:00
lerela a47f946f9a Fixes to Numpy so that the binary is accepted by the App Store.
Explanation: Apple forbids some symbols that Numpy is linked against (ccopy, dcopy, scopy, zcopy and xerbla). Compilation and tests work fine but the App Store complains and prevents uploading such builds.
This patch aliases the culprits to the public, allowed method names, allowing the linking to proceed as before and the resulting binary to be accepted by the App Store.
2020-05-05 10:51:08 +02:00
Andre Miras 56431b6922 Moving to dedicated kivy_ios/ package directory
- updates all imports to prefix kivy_ios
- adds basic `setup.py` file
- adds a simple `toolchain.py` to the root folder for compat

Makes it possible to install kivy-ios from PyPI:
```
pip install kivy-ios
toolchain --help
```
Note the `rebuild_updated_recipes.py` is expected to fail as we
moved all the recipes.

This is a working, but unperfect iteration that come with limitations
we would address in subsequent pull requests, such as:
- the new usage is not yet documented
- CI is not testing the source distribution creation and install
- Continuous Delivery to PyPI is not in place
- `toolchain` binary is a bit too generic name
- we're still vendoring things under `tools/`
2020-05-03 23:29:41 +02:00