diff --git a/packagelist b/packagelist index 07946e8a08..996b431ab8 100644 --- a/packagelist +++ b/packagelist @@ -451,6 +451,7 @@ protonvpn-nm-lib pulsar-deb pycharm-community-bin python3-anyascii +python3-editables python3-flit-core python3-fvs python3-gbinder-deb diff --git a/packages/python3-editables/.SRCINFO b/packages/python3-editables/.SRCINFO new file mode 100644 index 0000000000..87a2e28fb9 --- /dev/null +++ b/packages/python3-editables/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = python3-editables + pkgver = 0.5 + pkgdesc = Python library for creating editable wheels + url = https://github.com/pfmoore/editables + arch = any + depends = python3 + makedepends = git + makedepends = python3-build + makedepends = python3-installer + makedepends = python3-flit-scm + license = MIT + maintainer = xdavius + source = python3-editables::git+https://github.com/pfmoore/editables#commit=2331418af764ef203959327354335c431978e70d + sha256sums = SKIP + +pkgname = python3-editables diff --git a/packages/python3-editables/python3-editables.pacscript b/packages/python3-editables/python3-editables.pacscript new file mode 100644 index 0000000000..c8141b80b4 --- /dev/null +++ b/packages/python3-editables/python3-editables.pacscript @@ -0,0 +1,24 @@ +pkgname="python3-editables" +pkgver="0.5" +pkgdesc='Python library for creating editable wheels' +arch=('any') +url='https://github.com/pfmoore/editables' +license=('MIT') +depends=('python3') +makedepends=('git' 'python3-build' 'python3-installer' 'python3-flit-scm') +_commit='2331418af764ef203959327354335c431978e70d' +source=("${pkgname}::git+https://github.com/pfmoore/editables#commit=${_commit}") +sha256sums=('SKIP') +maintainer=("xdavius ") + +build() { + cd "${pkgname}" + python3 -m build --wheel --no-isolation +} + +package() { + cd "${pkgname}" + python3 -m installer --destdir="${pkgdir}" dist/*.whl + install -Dm 665 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt" + +} diff --git a/srclist b/srclist index 4a59e9a345..41c503446c 100644 --- a/srclist +++ b/srclist @@ -9086,6 +9086,23 @@ pkgbase = python3-anyascii pkgname = python3-anyascii --- +pkgbase = python3-editables + pkgver = 0.5 + pkgdesc = Python library for creating editable wheels + url = https://github.com/pfmoore/editables + arch = any + depends = python3 + makedepends = git + makedepends = python3-build + makedepends = python3-installer + makedepends = python3-flit-scm + license = MIT + maintainer = xdavius + source = python3-editables::git+https://github.com/pfmoore/editables#commit=2331418af764ef203959327354335c431978e70d + sha256sums = SKIP + +pkgname = python3-editables +--- pkgbase = python3-flit-core pkgver = 3.9.0 pkgdesc = A PEP 517 build backend for packages using Flit