Commit graph

25 commits

Author SHA1 Message Date
Tracey
27965de9cc common: Add placeholder for homepage in package.yml generation (#3)
Co-authored-by: Tracey Clark <tclark77@tlcnet.info>
2023-08-30 22:50:56 -04:00
Joey Riches
a173b5d45c common: yauto.py: prepend python- to package name for python modules
Follows our repo naming standards for python packages.

Suggested by @algent
2022-03-20 20:55:33 +00:00
Joey Riches
f2a58f335e common: yauto.py: Merge PYTHON_PEP517_MODULES into PYTHON_MODULES
No need for two seperate types here.
2022-03-20 20:28:34 +00:00
Joey Riches
31a3c5578f common: yauto.py: auto-fill in the component for well known types
We can be pretty sure of the component for these project types
2022-03-20 20:12:53 +00:00
Joey Riches
b5bc2474c4 common: yauto.py: Plumb in support for auto adding the correct component
For some projects types we are pretty sure what the component will be
2022-03-20 20:05:25 +00:00
Joey Riches
8c47b0824b common: yauto: Auto-add required builddeps for python PEP517 projects
Also, split PEP517 projects into PYTHON_PEP517_MODULES to make handling this
a bit easier.

The implementation here is kinda dog poo, but this entire file is dog
poo already.
2022-03-20 19:50:29 +00:00
Joey Riches
bf0cda7220 common: Use python macros if a pyproject.toml or setup.cfg file is found
TODO: auto-add `python-build`, `python-installer` and `python-wheel`
builddeps if a project.toml or setup.cfg file is found.
2022-03-20 18:54:12 +00:00
Joshua Strobl
9b1d1031d4 common: Add QMAKE and WAF detection. 2019-09-28 22:01:38 +03:00
Joshua Strobl
fd3fbbe59a common: Add Yarn support.
If we detect a yarn.lock file, add yarn install and enable networking. Fix comment, simplified cmake vs ninja checks.
2019-09-28 21:48:12 +03:00
Joshua Strobl
8f63e3ce4d common: Prioritize Meson over CMake when both are provided. 2019-09-28 21:20:58 +03:00
Pierre-Yves
91b01f1621 common: yauto: default python3 macros
Summary: Signed-off-by: Pierre-Yves <pyu@riseup.net>

Test Plan: `yauto.py https://github.com/koehlma/pygtkspellcheck/archive/4.0.5.tar.gz`

Reviewers: #triage_team, JoshStrobl

Reviewed By: #triage_team, JoshStrobl

Differential Revision: https://dev.getsol.us/D5892
2019-04-01 22:26:05 +02:00
Peter O'Connor
5c3a7bd1fa common: Set GPL-2.0-or-later to reflect new licensing practices
Signed-off-by: Peter O'Connor <peter@solus-project.com>
2018-06-20 09:55:09 +10:00
Pierre-Yves
0645c993ef common: Force lower case package name
Signed-off-by: Pierre-Yves <pyu@riseup.net>
2018-05-09 19:45:52 +02:00
Peter O'Connor
c3f8a25ae2 common: Make ninja the default for cmake builds
Signed-off-by: Peter O'Connor <peter@solus-project.com>
2018-04-13 18:29:21 +10:00
Pierre-Yves
744cebd4a0 common: Set a SPDX 3.0 code as default in package.yml template
Signed-off-by: Pierre-Yves <pyu@riseup.net>
2018-03-22 17:06:12 +01:00
Peter O'Connor
14ab1e10cd common: yauto: add ruby support
Signed-off-by: Peter O'Connor <peter@solus-project.com>
2017-11-13 16:08:01 +11:00
Ewan Paterson
248beb21f4 common: Python changes in yauto.py script
Summary: Moved Python macro to build section to reduce confusion around where it should be.

Test Plan: Generated some Python-based package.yml's.

Reviewers: #triage_team, ikey

Reviewed By: #triage_team, ikey

Subscribers: ikey, JoshStrobl

Differential Revision: https://dev.solus-project.com/D990
2017-09-13 21:08:40 +01:00
Ikey Doherty
7b180f3e5b common: yauto: We don't need a packager file
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-03-21 00:28:38 +00:00
Bryan T. Meyers
7b245b20af common: Added support for Haskell Cabal in yauto 2017-03-02 08:10:31 -05:00
Ikey Doherty
cebb25f880 common: Make DataDrake happy.
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2016-09-24 21:53:03 +01:00
Ikey Doherty
a61d256ada common: yauto: Address Josh's anal needs
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2016-05-22 18:32:45 +01:00
Ikey Doherty
b161d44b10 common: Use the new perl macros
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2016-04-16 11:07:10 +01:00
Ikey Doherty
7e9cef4833 common: yauto: Emit component
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2016-04-06 00:01:23 +01:00
Ikey Doherty
5e8301c021 common: yauto: Fix path 2015-07-25 14:18:03 +01:00
Ikey Doherty
75b57e5e57 common: Incorporate old scripts, add bump for pspec packages 2015-06-14 17:09:58 +01:00