Remove distribute recipe (#507)

Co-authored-by: richard <richard@dotmodus>
This commit is contained in:
Richard Larkin 2020-05-27 07:07:12 +02:00 committed by GitHub
parent 0998ea824a
commit 45875155c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 27 deletions

View file

@ -1,8 +1,5 @@
BROKEN_RECIPES = set(
[
# no attribute 'SourceFileLoader'
# https://github.com/kivy/kivy-ios/issues/466
"distribute",
# 'distutils.core' is not a package
# https://github.com/kivy/kivy-ios/issues/467
"markupsafe",

View file

@ -62,7 +62,6 @@ You can list the available recipes and their versions with:
audiostream master
click master
cymunk master
distribute 0.7.3
ffmpeg 2.6.3
ffpyplayer v3.2
flask master

View file

@ -1,23 +0,0 @@
from kivy_ios.toolchain import PythonRecipe, shprint
from os.path import join
import sh
import os
class DistributeRecipe(PythonRecipe):
version = "0.7.3"
url = "https://pypi.python.org/packages/source/d/distribute/distribute-{version}.zip"
depends = ["python"]
def install(self):
arch = list(self.filtered_archs)[0]
build_dir = self.get_build_dir(arch.arch)
os.chdir(build_dir)
hostpython = sh.Command(self.ctx.hostpython)
build_env = arch.get_env()
dest_dir = join(self.ctx.dist_dir, "root", "python")
build_env['PYTHONPATH'] = join(dest_dir, 'lib', 'python3.7', 'site-packages')
shprint(hostpython, "setup.py", "install", "--prefix", dest_dir, _env=build_env)
recipe = DistributeRecipe()