forked from onkelbeh/HomeAssistantRepository
add med Ebuild compile test on Python 3.10
This commit is contained in:
parent
6a601b2dbf
commit
f6746a0ee8
|
@ -0,0 +1,47 @@
|
|||
name: emerge ha-med on 3.10
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '15 11 * * *' # Daily
|
||||
|
||||
jobs:
|
||||
emerge-ha-med-310:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/antonfischl1980/gentoo-ci:main
|
||||
options: --privileged
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: emerge-sync
|
||||
run: |
|
||||
sudo -u portage git -C /var/db/repos/gentoo pull
|
||||
emerge --sync
|
||||
|
||||
- name: repos.conf/HomeAssistantRepository
|
||||
run: |
|
||||
mkdir -p /etc/portage/repos.conf/
|
||||
echo -en "[HomeAssistantRepository]\nlocation = " >/etc/portage/repos.conf/HomeAssistantRepository.conf
|
||||
pwd -P >> /etc/portage/repos.conf/HomeAssistantRepository.conf
|
||||
cat /etc/portage/repos.conf/*.conf
|
||||
|
||||
- name: Switch to Python 3.10
|
||||
run: |
|
||||
echo "USE_PYTHON=\"3.10 3.9\"" >>/etc/portage/make.conf
|
||||
echo "PYTHON_TARGETS=\"python3_10 python3_9\"" >>/etc/portage/make.conf
|
||||
echo "PYTHON_SINGLE_TARGET=\"python3_10\"" >>/etc/portage/make.conf
|
||||
emerge --jobs=4 -tv app-eselect/eselect-python app-portage/eix
|
||||
eselect python set python3.10
|
||||
eix-update
|
||||
eix -I# --installed-without-use python_targets_python3_10 | xargs emerge --jobs=4 -1tv
|
||||
|
||||
- name: /etc/portage/
|
||||
run: |
|
||||
rsync -aHDPSv etc/portage/ /etc/portage/
|
||||
|
||||
- name: emerge
|
||||
run: |
|
||||
emerge --jobs=4 --autounmask=y --autounmask-continue=y dev-lang/rust-bin
|
||||
emerge --jobs=4 --autounmask=y --autounmask-continue=y app-misc/homeassistant
|
|
@ -546,9 +546,9 @@ There are 1698 Ebuilds in total, 1691 of them have in total 1697 (35 different)
|
|||
|CC-BY-NC-SA-4.0|1|
|
||||
|CC0-1.0|1|
|
||||
|
||||
(Last counted: 15/04/2022)
|
||||
(Last counted: 16/04/2022)
|
||||
|
||||
I did my best to keep these clean. If a valid license was published on PyPI, it has been automatically merged. Otherwise I took it from GitHub or alternatively from comments/files in the source. Sometimes these differed and have been not unique. All license strings are adjusted to the list in `/usr/portage/gentoo/licenses/`. Some packages do not have any license published. In this case, Authors have been asked for clarification, some did not respond. Following the [official Gentoo Guide](https://devmanual.gentoo.org/general-concepts/licenses/index.html), these then were added with an `all-rights-reserved` license and `RESTRICT="mirror"` was set. Find the appropriate licenses referenced in the Ebuild files and in the corresponding homepages or sources.
|
||||
|
||||
A big thanks goes to Iris for reviewing this README.
|
||||
Last updated: 15/04/2022
|
||||
Last updated: 16/04/2022
|
||||
|
|
Loading…
Reference in New Issue