mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 12:33:40 -04:00
Merge updates from master
This commit is contained in:
6
.github/workflows/duplicates.yml
vendored
6
.github/workflows/duplicates.yml
vendored
@@ -13,11 +13,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Setup master gentoo repository
|
- name: Setup master gentoo repository
|
||||||
run: |
|
run: |
|
||||||
sudo mkdir -p /var/db/repos/gentoo /etc/portage /var/cache/distfiles
|
./scripts/setup-master-gentoo.sh
|
||||||
wget -qO - "https://github.com/gentoo-mirror/gentoo/archive/master.tar.gz" | sudo tar xz -C /var/db/repos/gentoo --strip-components=1
|
|
||||||
sudo wget "https://www.gentoo.org/dtd/metadata.dtd" -O /var/cache/distfiles/metadata.dtd
|
|
||||||
sudo wget "https://gitweb.gentoo.org/proj/portage.git/plain/cnf/repos.conf" -O /etc/portage/repos.conf
|
|
||||||
sudo ln -s /var/db/repos/gentoo/profiles/default/linux/amd64/17.1 /etc/portage/make.profile
|
|
||||||
- name: Check for duplicates
|
- name: Check for duplicates
|
||||||
run: |
|
run: |
|
||||||
./scripts/check-duplicates.sh
|
./scripts/check-duplicates.sh
|
||||||
|
|||||||
4
.github/workflows/pkgcheck.yml
vendored
4
.github/workflows/pkgcheck.yml
vendored
@@ -10,9 +10,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- uses: actions/checkout@v2
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Run pkgcheck
|
- name: Run pkgcheck
|
||||||
uses: pkgcore/pkgcheck-action@v1
|
uses: pkgcore/pkgcheck-action@v1
|
||||||
with:
|
with:
|
||||||
|
|||||||
21
.github/workflows/repoman.yml
vendored
21
.github/workflows/repoman.yml
vendored
@@ -11,24 +11,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up Python 3.9
|
|
||||||
uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: 3.9
|
|
||||||
- name: Setup repoman
|
|
||||||
run: |
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip install lxml pyyaml
|
|
||||||
wget -qO - "https://github.com/gentoo/portage/archive/portage-3.0.12.tar.gz" | tar xz
|
|
||||||
sudo groupadd -g 250 portage
|
|
||||||
sudo useradd -g portage -d /var/tmp/portage -s /bin/false -u 250 portage
|
|
||||||
- name: Setup master gentoo repository
|
- name: Setup master gentoo repository
|
||||||
run: |
|
run: |
|
||||||
sudo mkdir -p /var/db/repos/gentoo /etc/portage /var/cache/distfiles
|
./scripts/setup-master-gentoo.sh
|
||||||
wget -qO - "https://github.com/gentoo-mirror/gentoo/archive/master.tar.gz" | sudo tar xz -C /var/db/repos/gentoo --strip-components=1
|
- name: Setup and run Repoman
|
||||||
sudo wget "https://www.gentoo.org/dtd/metadata.dtd" -O /var/cache/distfiles/metadata.dtd
|
|
||||||
sudo wget "https://gitweb.gentoo.org/proj/portage.git/plain/cnf/repos.conf" -O /etc/portage/repos.conf
|
|
||||||
sudo ln -s /var/db/repos/gentoo/profiles/default/linux/amd64/17.1 /etc/portage/make.profile
|
|
||||||
- name: Test with repoman
|
|
||||||
run: |
|
run: |
|
||||||
python3 portage-portage-3.0.12/repoman/bin/repoman full -dx
|
./scripts/setup-and-run-repoman.sh
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ SLOT="0"
|
|||||||
|
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
RDEPEND="app-arch/lzlib"
|
RDEPEND="app-arch/lzlib:0="
|
||||||
DEPEND="
|
DEPEND="
|
||||||
${RDEPEND}
|
${RDEPEND}
|
||||||
$(unpacker_src_uri_depends)
|
$(unpacker_src_uri_depends)
|
||||||
@@ -1,12 +1,11 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI="7"
|
EAPI="7"
|
||||||
|
|
||||||
COMMIT="13e5b90eecc79ec6704efb333c4c100187520e80"
|
COMMIT="13e5b90eecc79ec6704efb333c4c100187520e80"
|
||||||
|
|
||||||
#TODO: figure out if a java eclass is needed
|
inherit autotools elisp-common java-pkg-opt-2
|
||||||
inherit autotools elisp-common
|
|
||||||
|
|
||||||
DESCRIPTION="The Aldor Programming Language"
|
DESCRIPTION="The Aldor Programming Language"
|
||||||
HOMEPAGE="http://pippijn.github.io/aldor"
|
HOMEPAGE="http://pippijn.github.io/aldor"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
|
|
||||||
inherit desktop xdg cmake
|
inherit desktop java-pkg-2 xdg cmake
|
||||||
|
|
||||||
MY_PN="MultiMC5"
|
MY_PN="MultiMC5"
|
||||||
MY_P="${MY_PN}-${PV}"
|
MY_P="${MY_PN}-${PV}"
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
#
|
#
|
||||||
# This checks for potential and exact package matches within an overlay & ::gentoo
|
# This checks for potential and exact package matches within an overlay & ::gentoo
|
||||||
# Note that this is not going to be 100% accurate
|
# Note that this is not going to be 100% accurate
|
||||||
#
|
|
||||||
|
|
||||||
GENTOO_DIR="/var/db/repos/gentoo"
|
GENTOO_DIR="/var/db/repos/gentoo"
|
||||||
GENTOO_PACKAGES=(
|
GENTOO_PACKAGES=(
|
||||||
|
|||||||
30
scripts/setup-and-run-repoman.sh
Executable file
30
scripts/setup-and-run-repoman.sh
Executable file
@@ -0,0 +1,30 @@
|
|||||||
|
#! /usr/bin/env bash
|
||||||
|
# Maintainer: Andrew Ammerlaan <andrewammerlaan@riseup.net>
|
||||||
|
#
|
||||||
|
# This sets up repoman and runs the latest version
|
||||||
|
#
|
||||||
|
# TODO: Force repoman to output in colour
|
||||||
|
|
||||||
|
### Setup prerequisites
|
||||||
|
python3 -m pip install --upgrade pip
|
||||||
|
pip install lxml pyyaml
|
||||||
|
sudo groupadd -g 250 portage
|
||||||
|
sudo useradd -g portage -d /var/tmp/portage -s /bin/false -u 250 portage
|
||||||
|
|
||||||
|
### Sync the portage repository
|
||||||
|
git clone https://github.com/gentoo/portage.git
|
||||||
|
cd portage
|
||||||
|
|
||||||
|
# Get all versions, and read into array
|
||||||
|
mapfile -t RM_VERSIONS < <( git tag | grep repoman | sort -u )
|
||||||
|
|
||||||
|
# Select latests version (last element in array)
|
||||||
|
RM_VERS="${RM_VERSIONS[-1]}"
|
||||||
|
|
||||||
|
# Checkout this version
|
||||||
|
git checkout tags/${RM_VERS} -b ${RM_VERS}
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
### Run repoman
|
||||||
|
python3 portage/repoman/bin/repoman -dx full
|
||||||
10
scripts/setup-master-gentoo.sh
Executable file
10
scripts/setup-master-gentoo.sh
Executable file
@@ -0,0 +1,10 @@
|
|||||||
|
#! /usr/bin/env bash
|
||||||
|
# Maintainer: Andrew Ammerlaan <andrewammerlaan@riseup.net>
|
||||||
|
#
|
||||||
|
# Fetch and setup the latest ::gentoo
|
||||||
|
|
||||||
|
sudo mkdir -p /var/db/repos/gentoo /etc/portage /var/cache/distfiles
|
||||||
|
wget -qO - "https://github.com/gentoo-mirror/gentoo/archive/master.tar.gz" | sudo tar xz -C /var/db/repos/gentoo --strip-components=1
|
||||||
|
sudo wget "https://www.gentoo.org/dtd/metadata.dtd" -O /var/cache/distfiles/metadata.dtd
|
||||||
|
sudo wget "https://gitweb.gentoo.org/proj/portage.git/plain/cnf/repos.conf" -O /etc/portage/repos.conf
|
||||||
|
sudo ln -s /var/db/repos/gentoo/profiles/default/linux/amd64/17.1 /etc/portage/make.profile
|
||||||
Reference in New Issue
Block a user