diff --git a/README.md b/README.md index e68a2ac..74759e6 100644 --- a/README.md +++ b/README.md @@ -32,3 +32,7 @@ dev-libs/libunistring dev-libs/popt dev-libs/libtasn1 app-arch/libarchive dev-li - `dev-libs/popt` + `dev-libs/xxhash` -> `net-misc/rsync` - `dev-libs/pcre2` -> rebuild `sys-apps/grep` - rebuild `sys-apps/grep` + `net-misc/curl` + `dev-build/cmake` -> `llvm-core/llvm` -> `llvm-runtimes/compiler-rt` -> `llvm-core/clang` + +### python + +- `pyproject-hooks` -> `build` diff --git a/dev-python/build-1.3.0.PKGBUILD b/dev-python/build-1.3.0.PKGBUILD new file mode 100644 index 0000000..5ac7aa2 --- /dev/null +++ b/dev-python/build-1.3.0.PKGBUILD @@ -0,0 +1,23 @@ +pkgname=build +pkgver=1.3.0 +pkgdesc='A simple, correct Python build frontend' +arch=(any) +homepage='https://github.com/pypa/build' +license=(MIT) +sources=("${pkgname}-${pkgver}.tar.gz") +urls=("https://files.pythonhosted.org/packages/source/${pkgname:0:1}/${pkgname}/${sources[0]}") +md5sums=("48f7fbc11051430eab3c1abe216bed7a") + +export PYTHONDONTWRITEBYTECODE=1 + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 +} + +src_build() { + pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD +} + +src_install() { + pip3 install --no-deps --no-warn-script-location --no-index --no-cache-dir --no-user --root ${pkgdir} --root-user-action=ignore --find-links dist ${pkgname} +}