[1/3] package/python-setuptools-scm-git-archive: new package
diff mbox series

Message ID 20191014191228.13432-8-asafka7@gmail.com
State Accepted
Headers show
Series
  • [1/3] package/python-setuptools-scm-git-archive: new package
Related show

Commit Message

Asaf Kahlon Oct. 14, 2019, 7:12 p.m. UTC
The package is only needed for building Python packages, so
it's going to be compiled for host only.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
---
 .../python-setuptools-scm-git-archive.hash         |  5 +++++
 .../python-setuptools-scm-git-archive.mk           | 14 ++++++++++++++
 2 files changed, 19 insertions(+)
 create mode 100644 package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.hash
 create mode 100644 package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.mk

Comments

Thomas Petazzoni Oct. 14, 2019, 8:23 p.m. UTC | #1
On Mon, 14 Oct 2019 22:12:23 +0300
Asaf Kahlon <asafka7@gmail.com> wrote:

> The package is only needed for building Python packages, so
> it's going to be compiled for host only.
> 
> Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
> ---
>  .../python-setuptools-scm-git-archive.hash         |  5 +++++
>  .../python-setuptools-scm-git-archive.mk           | 14 ++++++++++++++
>  2 files changed, 19 insertions(+)
>  create mode 100644 package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.hash
>  create mode 100644 package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.mk

Applied to master, thanks.

Thomas

Patch
diff mbox series

diff --git a/package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.hash b/package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.hash
new file mode 100644
index 0000000000..e4f169ed9d
--- /dev/null
+++ b/package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.hash
@@ -0,0 +1,5 @@ 
+# md5, sha256 from https://pypi.org/pypi/setuptools-scm-git-archive/json
+md5	1c9351fa5cebd12e76488737a7c78f2e  setuptools_scm_git_archive-1.1.tar.gz
+sha256	6026f61089b73fa1b5ee737e95314f41cb512609b393530385ed281d0b46c062  setuptools_scm_git_archive-1.1.tar.gz
+# Locally computed sha256 checksums
+sha256	89807acf2309bd285f033404ee78581602f3cd9b819a16ac2f0e5f60ff4a473e  LICENSE
diff --git a/package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.mk b/package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.mk
new file mode 100644
index 0000000000..1c18095f54
--- /dev/null
+++ b/package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.mk
@@ -0,0 +1,14 @@ 
+################################################################################
+#
+# python-setuptools-scm-git-archive
+#
+################################################################################
+
+PYTHON_SETUPTOOLS_SCM_GIT_ARCHIVE_VERSION = 1.1
+PYTHON_SETUPTOOLS_SCM_GIT_ARCHIVE_SOURCE = setuptools_scm_git_archive-$(PYTHON_SETUPTOOLS_SCM_GIT_ARCHIVE_VERSION).tar.gz
+PYTHON_SETUPTOOLS_SCM_GIT_ARCHIVE_SITE = https://files.pythonhosted.org/packages/7e/2c/0c15b29a1b5940250bfdc4a4f53272e35cd7cf8a34159291b6b4ec9eb291
+PYTHON_SETUPTOOLS_SCM_GIT_ARCHIVE_SETUP_TYPE = setuptools
+PYTHON_SETUPTOOLS_SCM_GIT_ARCHIVE_LICENSE = MIT
+PYTHON_SETUPTOOLS_SCM_GIT_ARCHIVE_LICENSE_FILES = LICENSE
+
+$(eval $(host-python-package))