kivy / kivy/python-for-android

Enhancement request: cleanup recipe names

Open
#2,825 3 comments 0 reactions 0 assignees View on GitHub
feature-request
Dominant language
Python
Stars
8.9k
Forks
2k
Avg merge
12h 20m
Merged PRs (30d)
9

Description

### Description

Having worked to get requirements correct, users find the recipe names are different for no apparent reason. WTF?!

And scrolling the recipes directory, looking for a clue, is a challenge because there are also libraries and misnamed items in there.

Its confusing.

Cleanup the names, and in p4a implement a lookup table for backwards compatibility. Or create alias recipes like `pil`.

```
Wrong name wrt Pypi

dateutil is python-dateutil
mysqldb is mysql-python - this claims to only support Python2
ndghttpsclient is ndg-httpsclient
opencv is opencv-python
opencv_extras is opencv-contrib-python
protobuf_cpp is protobuf-python
pyleveldb is leveldb
spine is spine-cython
```

```
Conflicting Pypi name:

av recipe is not av package, correct name is pyav , av is a different package
```

```
Some oddballs, not clear how a user would know what these are (or how to use them)

audiostream
cymunk
pil
vlc
```

```
Libs that are not named libXXXX (perhaps all the libs could be in a different directory?)

freetype
harfbuzz
ifaddrs
jepd
openal
openssl
sqlite3
```

Contributor guide

Open the contributing guide

Research direction

Start by inspecting the recipes directory and the p4a recipe lookup entry point, using the listed mismatched, conflicting, and oddball names as the scope. Determine whether renamed recipes or aliases best preserve existing names, then verify that old names still resolve while the directory names match their intended packages and libraries.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, python
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.