diff options
| author | Jeffery To <jeffery.to@gmail.com> | 2023-02-28 19:31:50 +0800 |
|---|---|---|
| committer | Jeffery To <jeffery.to@gmail.com> | 2023-03-31 13:07:28 +0800 |
| commit | 82766de815963cf8fec3e6b3e0d6f97435aef755 (patch) | |
| tree | 5b04aa189868b493e825eff17b71c38db874781a /lang/python/python-poetry-core/Makefile | |
| parent | 3ee4e7297cf07b644bac3dfafc508da5f31bf63d (diff) | |
python-poetry-core: Add new host-only package
From the README:
A PEP 517 build backend implementation developed for Poetry. This
project is intended to be a light weight, fully compliant,
self-contained package allowing PEP 517 compatible build frontends to
build Poetry managed projects.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python-poetry-core/Makefile')
| -rw-r--r-- | lang/python/python-poetry-core/Makefile | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/lang/python/python-poetry-core/Makefile b/lang/python/python-poetry-core/Makefile new file mode 100644 index 000000000..6cdb6d285 --- /dev/null +++ b/lang/python/python-poetry-core/Makefile @@ -0,0 +1,51 @@ +# +# Copyright (C) 2023 Jeffery To +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=python-poetry-core +PKG_VERSION:=1.5.2 +PKG_RELEASE:=1 + +PYPI_NAME:=poetry-core +PYPI_SOURCE_NAME:=poetry_core +PKG_HASH:=c6556c3b1ec5b8668e6ef5a4494726bc41d31907339425e194e78a6178436c14 + +PKG_LICENSE:=MIT +PKG_LICENSE_FILES:=LICENSE +PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com> + +PKG_HOST_ONLY:=1 +HOST_BUILD_DEPENDS:=python3/host python-build/host python-installer/host + +include ../pypi.mk +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/host-build.mk +include ../python3-package.mk +include ../python3-host-build.mk + +define Package/python3-poetry-core + SECTION:=lang + CATEGORY:=Languages + SUBMENU:=Python + TITLE:=Poetry PEP 517 Build Backend + URL:=https://github.com/python-poetry/poetry-core + DEPENDS:=+python3 + BUILDONLY:=1 +endef + +define Package/python3-poetry-core/description +A PEP 517 build backend implementation developed for Poetry. This +project is intended to be a light weight, fully compliant, +self-contained package allowing PEP 517 compatible build frontends to +build Poetry managed projects. +endef + +$(eval $(call Py3Package,python3-poetry-core)) +$(eval $(call BuildPackage,python3-poetry-core)) +$(eval $(call BuildPackage,python3-poetry-core-src)) +$(eval $(call HostBuild)) |
