Commit Graph

5253 Commits

Author SHA1 Message Date
Krzesimir Nowak
cfbf805f6e eclass/python-any-r1: Sync with Gentoo
It's from Gentoo commit 3d67b1ccfacc37308a7236625035dff1156b025c.
2023-02-17 11:53:02 +01:00
Krzesimir Nowak
e4ce7d1f30 eclass/pypi: Add from Gentoo
It's from Gentoo commit aec6cd673b9aa4bce9095a390c28139197374202.
2023-02-17 11:53:02 +01:00
Krzesimir Nowak
c984495f87 eclass/distutils-r1: Sync with Gentoo
It's from Gentoo commit f162bdec61704b860c8c3be2c4ab44980165876d.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
af7fce8f1f dev-vcs/repo: Sync with Gentoo
It's from Gentoo commit ed468028e725c9580a7b2ee02d6b7b9375f7a0b2.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
a29c6202c3 dev-python/zipp: Drop unused package
It was pulled in by dev-python/importlib_metadata, but since it's
gone, nothing else depended on zipp.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
18a1698df2 dev-python/wheel: Sync with Gentoo
It's from Gentoo commit ed468028e725c9580a7b2ee02d6b7b9375f7a0b2.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
dc6cdd92b6 dev-python/typing-extensions: Add from Gentoo
It's from Gentoo commit 507415af96eb97babbcea8139e7a106564d9f0cc.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
0faabde57c dev-python/tomli: Sync with Gentoo
It's from Gentoo commit 0b19d5ccdbc482684dfcdcf9f5550c977ecce93b.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
9b284498be dev-python/snakeoil: Sync with Gentoo
It's from Gentoo commit 42f8229136e9f37f564a8c8f3e3b86b2e7091286.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
21e6bc24bc dev-python/six: Sync with Gentoo
It's from Gentoo commit ed468028e725c9580a7b2ee02d6b7b9375f7a0b2.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
0f6d43233f dev-python/setuptools_scm: Sync with Gentoo
It's from Gentoo commit e9f407780b321f619b512ffebaecbcfbc4550dc0.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
88163b9e72 dev-python/setuptools: Sync with Gentoo
It's from Gentoo commit e4e2bbd1339042cfc6f677620f3adc7377ef21f9.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
194603fbf8 dev-python/pyparsing: Sync with Gentoo
It's from Gentoo commit ed468028e725c9580a7b2ee02d6b7b9375f7a0b2.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
8d40af3639 dev-python/pygments: Sync with Gentoo
It's from Gentoo commit 8239cbe100fadf423adb28f20a79dd31b65724e4.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
3b24fa853c dev-python/pydecomp: Sync with Gentoo
It's from Gentoo commit ed468028e725c9580a7b2ee02d6b7b9375f7a0b2.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
c0930d4e31 dev-python/pydantic: Add from Gentoo
It's from Gentoo commit 34bfb217b6b458d2c2158351a1a9a4e412398cab.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
0dc45e535c dev-python/packaging: Sync with Gentoo
It's from Gentoo commit 736adc017416b105651a81facd0292d026276616.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
9305b5f32a dev-python/ordered-set: Sync with Gentoo
It's from Gentoo commit ed468028e725c9580a7b2ee02d6b7b9375f7a0b2.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
e95073910d dev-python/nspektr: Sync with Gentoo
It's from Gentoo commit 8752266c7bb46021eab7197f18c68d25f8c75a80.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
a524b3418c dev-python/more-itertools: Sync with Gentoo
It's from Gentoo commit 074b3b194a28322ad9fa287c34691beb352a7ee8.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
fb74e3084f dev-python/markupsafe: Sync with Gentoo
It's from Gentoo commit c6a78c623d1eb65838e7b5e8236456bf9f374287.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
148a6238ab dev-python/mako: Drop unused package
Nothing pulls that in other hard host depends unnecessarily.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
53f17f826d dev-python/lxml: Sync with Gentoo
It's from Gentoo commit 6084584607508b5da388165dc40397b4f9b64867.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
b123d9d7c3 dev-python/lazy-object-proxy: Sync with Gentoo
It's from Gentoo commit ed468028e725c9580a7b2ee02d6b7b9375f7a0b2.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
c6361e84f8 dev-python/jinja: Sync with Gentoo
It's from Gentoo commit ed468028e725c9580a7b2ee02d6b7b9375f7a0b2.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
e42ebd6735 dev-python/jaraco-text: Sync with Gentoo
It's from Gentoo commit 710dfbbfb19eacd489afba80faf047f64fea5946.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
4af5183d5b dev-python/jaraco-functools: Sync with Gentoo
It's from Gentoo commit 98fbb10dbda3c2043e5349edee4b10d8d09eaf3b.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
03371ad2a9 dev-python/jaraco-context: Sync with Gentoo
It's from Gentoo commit 26d2f0b0dc8aeb1e7528b89013b61c4ffecf67c5.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
1b69a14eca dev-python/installer: Sync with Gentoo
It's from Gentoo commit 3f63d782bb02a2ebf2de258cd8605ba77853b327.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
224d0d52dc dev-python/inflect: Add from Gentoo
It's from Gentoo commit 4a9fbadd00b2340a42914655cce34963ecde2731.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
e758c07fc1 dev-python/importlib_metadata: Drop unused package
We will be updating python to version 3.10 or greater, so this package
is not needed any more.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
cc8c70ae0e dev-python/gpep517: Sync with Gentoo
It's from Gentoo commit ed468028e725c9580a7b2ee02d6b7b9375f7a0b2.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
848b2767f6 dev-python/gentoo-common: Add from Gentoo
It's from Gentoo commit c4f1c9917bbdce3a08fe5fe0e666315951fd9b64.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
07c44fabc7 dev-python/flit_core: Sync with Gentoo
It's from Gentoo commit ed468028e725c9580a7b2ee02d6b7b9375f7a0b2.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
c82350adc5 dev-python/docutils: Sync with Gentoo
It's from Gentoo commit 3a83d73166a974ec73fb824b146c1710332bcb5a.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
a3bd98076e dev-python/distro: Sync with Gentoo
It's from Gentoo commit ed468028e725c9580a7b2ee02d6b7b9375f7a0b2.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
245a76f780 dev-python/cython: Sync with Gentoo
It's from Gentoo commit ed468028e725c9580a7b2ee02d6b7b9375f7a0b2.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
f54eb5e867 dev-python/crcmod: Sync with Gentoo
It's from Gentoo commit ed468028e725c9580a7b2ee02d6b7b9375f7a0b2.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
314cbd4b07 dev-python/certifi: Sync with Gentoo
It's from Gentoo commit ed468028e725c9580a7b2ee02d6b7b9375f7a0b2.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
7a438f7aab dev-python/boto: Add from Gentoo
It's from Gentoo commit 67b39a7cf42aef820d1a849ea8f53a77575f277c.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
d53b06c64c dev-python/autocommand: Add from Gentoo
It's from Gentoo commit ed468028e725c9580a7b2ee02d6b7b9375f7a0b2.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
c67fa1ee50 dev-python/appdirs: Sync with Gentoo
It's from Gentoo commit ed468028e725c9580a7b2ee02d6b7b9375f7a0b2.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
f1b57279f5 dev-libs/libnl: Sync with Gentoo
It's from Gentoo commit ed468028e725c9580a7b2ee02d6b7b9375f7a0b2.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
32a79be312 dev-libs/jsoncpp: Sync with Gentoo
It's from Gentoo commit ed468028e725c9580a7b2ee02d6b7b9375f7a0b2.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
7b12526d38 dev-lang/python-exec-conf: Sync with Gentoo
It's from Gentoo commit 33ad44a77df33acfcb184a72955b85da896cabc6.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
af8642077c dev-lang/python-exec: Sync with Gentoo
It's from Gentoo commit ed468028e725c9580a7b2ee02d6b7b9375f7a0b2.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
666091c2a4 dev-lang/python: Sync with Gentoo
It's from Gentoo commit 7e4bc93cfd8c98df45018b72f6ac4bfc5c698bcf.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
87d5ce7ec7 app-text/asciidoc: Sync with Gentoo
It's from Gentoo commit ed468028e725c9580a7b2ee02d6b7b9375f7a0b2.
2023-02-17 11:51:28 +01:00
Krzesimir Nowak
6b0caea332 app-shells/bash-completion: Sync with Gentoo
It's from Gentoo commit ed468028e725c9580a7b2ee02d6b7b9375f7a0b2.
2023-02-17 11:51:28 +01:00
Thilo Fromm
9ef8b69e5c scripts/bootstrap: Apply Flatcar modifications
- add static-libs, openmp

  'static-libs' and 'opempn' are added to the bootstrap emerge USE
  flags (stage 3 of the bootstrap-sh script, which is run in stage 2
  of the SDK catalyst bootstrapping process):

  - 'static-libs' un-breaks the zlib build: zlib installed has this
     flag set and zlib requested per emerge command line in
     bootstrap.sh stage 3 needs this flag to prevent a slot conflict.

  - 'openmp' is to honor requirements of newer versions of GCC and is
     added according to Gentoo guidelines published here:
     https://wiki.gentoo.org/wiki/User:Sakaki/Sakaki%27s_EFI_Install_Guide/Building_the_Gentoo_Base_System_Minus_Kernel#Gentoo_Bootstrap_Remix:_Progressing_from_Stage_1_to_Stage_2

- install curl before baselayout

  Now that Github rejects access to an unauthenticated URL with
  `git://`, we have to make git and libcurl work with
  `https://`. However, during the SDK stage2, curl is not explicitly
  installed, but just inherited from the stage1. As a result, curl is
  built without the `ssl` USE flag.  So installation of baselayout
  fails with:

```
git fetch https://github.com/flatcar-linux/baselayout.git --prune +HEAD:refs/git-r3/HEAD
fatal: unable to access 'https://github.com/flatcar-linux/baselayout.git/':
Protocol "https" not supported or disabled in libcurl
```

  To resolve the issue, we need to install curl with `BOOTSTRAP_USE=ssl`
  before trying to install baselayout.

- update openssl before stage3

  Right now our bootstrap flow is different then gentoo's - we don't
  update the seed when building stage1 and use a different ebuilds
  snapshot for stage1 compared to stage2 and stage3. This is causing
  us trouble now, because we introduced openssl-3, but seed/stage1
  still contains openssl-1.1. During `emerge -e @system` in stage3,
  some packages that depend on openssl may build against the stage1
  version, which results in an error during depcleaning (they would
  need to be rebuilt instead).  Stage3 is not extensible, so instead,
  explicitly update openssl in stage2. This workaround can be removed
  as soon as we release a seed with openssl-3.

- fix bootstrap in verbose mode

  Verbose mode does not unset STRAP_RUN, thus the script tries to
  prune sys-devel/gcc at the later stage. Currently portage exits with
  an exit status 1 if a specific package was requested to be pruned
  and there was nothing to do. This results in a bootstrap failure. So
  before we try to prune, let's do a dry run to see if anything would
  be done.

  For the portage code that results in exit status 1, see the
  following link:

  https://gitweb.gentoo.org/proj/portage.git/tree/lib/_emerge/actions.py?id=bde2a895cf520687dce7a8e92601041a37529ba0#n1700

  Fix can be dropped when https://github.com/gentoo/gentoo/pull/29612
  gets merged.

Co-authored-by: Dongsu Park <dpark@linux.microsoft.com>
Co-authored-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
Co-authored-by: Krzesimir Nowak <knowak@microsoft.com>
2023-02-16 13:49:19 +01:00