Skip to content

Commit

Permalink
add: python3-editables (#6761)
Browse files Browse the repository at this point in the history
Co-authored-by: xdavius <[email protected]>
Co-authored-by: Elsie <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
4 people authored Jan 10, 2025
1 parent 2707c30 commit f2d8c9b
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 0 deletions.
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,7 @@ protonvpn-nm-lib
pulsar-deb
pycharm-community-bin
python3-anyascii
python3-editables
python3-flit-core
python3-fvs
python3-gbinder-deb
Expand Down
16 changes: 16 additions & 0 deletions packages/python3-editables/.SRCINFO
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>
source = python3-editables::git+https://github.com/pfmoore/editables#commit=2331418af764ef203959327354335c431978e70d
sha256sums = SKIP

pkgname = python3-editables
24 changes: 24 additions & 0 deletions packages/python3-editables/python3-editables.pacscript
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>")

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"

}
17 changes: 17 additions & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -9231,6 +9231,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 <[email protected]>
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
Expand Down

0 comments on commit f2d8c9b

Please sign in to comment.