diff options
| author | Eneas U de Queiroz <cotequeiroz@gmail.com> | 2020-04-10 12:18:32 -0300 |
|---|---|---|
| committer | Eneas U de Queiroz <cotequeiroz@gmail.com> | 2020-04-10 12:41:37 -0300 |
| commit | 3d28b776bcaae76f7d1a9731e6b804f6ce16988a (patch) | |
| tree | 82c511b9f1cca6fe4dab249152646e7eb088dc12 /lang/python/python3-package.mk | |
| parent | e086343cb5d0bcda2f85486e56f478987d2ea171 (diff) | |
python3: hide -src package until main pkg selected
This adds a 'Package/<pkg>-src/config' definition with a 'depends on
<pkg>' line, which will hide <pkg>-src unless <pkg> is selected. This
makes the long list of python packages a bit shorter, and also indents
the src package:
<M> python3-base................................ Python 3.8 interpreter
< > python3-base-src................. Python 3.8 interpreter (sources)
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Diffstat (limited to 'lang/python/python3-package.mk')
| -rw-r--r-- | lang/python/python3-package.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/python/python3-package.mk b/lang/python/python3-package.mk index 0f5621c9f..97589b563 100644 --- a/lang/python/python3-package.mk +++ b/lang/python/python3-package.mk @@ -56,6 +56,10 @@ define Py3Package (Contains the Python3 sources for this package). endef + define Package/$(1)-src/config + depends on PACKAGE_$(1) + endef + # Add default PyPackage filespec none defined ifndef Py3Package/$(1)/filespec define Py3Package/$(1)/filespec |
