Skip to content

Commit

Permalink
dev-python/adblockparser: fix pyre2 consumer and update readme
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Arnold <sarnold@vctlabs.com>
  • Loading branch information
sarnold committed Apr 10, 2024
1 parent b32e979 commit f11264e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 11 deletions.
23 changes: 19 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,27 @@ Run the following command to sync the repo::

# emaint sync --repo embedded-overlay

Updating md5-cache
------------------

The directory metadata/md5-cache can contain cache files to speed up portage
when working with ebuilds from the overlay. This overlay does not include
these files, so it is recommended to generate these yourself. To do that,
simply run the following as root::

egencache --update --repo=embedded-overlay


WIP embedded kernel-bin ebuild
==============================

This is currently a WIP convenience ebuild for installing a generic kernel
binary on something small/embedded that can't run the full distro-kernel bin
package.
package. There are also some experimental github CI kernel builds here:

https://github.com/sarnold/arm64-mainline-linux/releases

Feel free to request a tagged build for something specific.

In this context, "generic kernel" is built using something like the RCN
`build scripts`_ (forked) or one of the many upstream `kernel builders`_.
Expand All @@ -86,11 +101,11 @@ should look something like this::
deploy/6.5.8-arm64-r1.Image
deploy/config-6.5.8-arm64-r1

To use the ebuild on an arm64 host with the above build output, the steps
To use these ebuilds on an arm64 host with your own build output, the steps
are essentially:

* drop the artifacts in your local distfiles
* (re)generate the ``cross-kernel-bin`` Manifest file
* bump the version as needed and (re)generate the ``cross-kernel-bin`` Manifest file
* emerge ``cross-kernel-bin`` as you normally would
* if needed, generate your initramfs (eg, dracut)
* run ``grub-mkconfig`` --or-- update extlinux.conf
Expand Down Expand Up @@ -255,7 +270,7 @@ short ebuild listing::
│   ├── msgpack
│   ├── pdfrw
│   ├── picotui
│   ├── py-re2
│   ├── pyre2
│   ├── pymavlink
│   ├── pystache
│   ├── python-uinput
Expand Down
9 changes: 2 additions & 7 deletions dev-python/adblockparser/adblockparser-0.7.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=8

PYTHON_COMPAT=( python3_{8..10} )
PYTHON_COMPAT=( python3_{9..12} )
DISTUTILS_USE_SETUPTOOLS=bdepend
inherit distutils-r1

Expand All @@ -22,15 +22,10 @@ fi

LICENSE="MIT"
SLOT="0"
IUSE="test"
RESTRICT="!test? ( test )"

RDEPEND="${PYTHON_DEPS}
dev-python/py-re2[${PYTHON_USEDEP}]
"

DEPEND="
test? ( >=dev-python/pytest-3.0.3[${PYTHON_USEDEP}] )
dev-python/pyre2[${PYTHON_USEDEP}]
"

DOCS=( README.rst CHANGES.rst )
Expand Down

0 comments on commit f11264e

Please sign in to comment.