blob: 127c317965f89fc161231796cc02a7092b3acbe4 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#
2# Copyright (C) 2023 Jeffery To
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=python-editables
11PKG_VERSION:=0.5
12PKG_RELEASE:=1
13
14PYPI_NAME:=editables
15PKG_HASH:=309627d9b5c4adc0e668d8c6fa7bac1ba7c8c5d415c2d27f60f081f8e80d1de2
16
17PKG_LICENSE:=MIT
18PKG_LICENSE_FILES:=LICENSE.txt
19PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
20
21PKG_HOST_ONLY:=1
22HOST_BUILD_DEPENDS:=python3/host python-build/host python-installer/host python-flit-core/host
23
24include ../pypi.mk
25include $(INCLUDE_DIR)/package.mk
26include $(INCLUDE_DIR)/host-build.mk
27include ../python3-package.mk
28include ../python3-host-build.mk
29
30define Package/python3-editables
31 SECTION:=lang
32 CATEGORY:=Languages
33 SUBMENU:=Python
34 TITLE:=Editable installations
35 URL:=https://github.com/pfmoore/editables
36 DEPENDS:=+python3-light
37 BUILDONLY:=1
38endef
39
40define Package/python3-editables/description
41A Python library for creating "editable wheels"
42
43This library supports the building of wheels which, when installed, will
44expose packages in a local directory on sys.path in "editable mode". In
45other words, changes to the package source will be reflected in the
46package visible to Python, without needing a reinstall.
47endef
48
49$(eval $(call Py3Package,python3-editables))
50$(eval $(call BuildPackage,python3-editables))
51$(eval $(call BuildPackage,python3-editables-src))
52$(eval $(call HostBuild))