summaryrefslogtreecommitdiffstats
path: root/rules/python3-ply.make
blob: e5deab4f7f5efbc1fb6ace06f080b5c43681a2f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# -*-makefile-*-
#
# Copyright (C) 2015 by Robin van der Gracht <robin@protonic.nl>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
PACKAGES-$(PTXCONF_PYTHON3_PLY) += python3-ply

#
# Paths and names
#
PYTHON3_PLY_VERSION	:= 3.11
PYTHON3_PLY_MD5		:= 6465f602e656455affcd7c5734c638f8
PYTHON3_PLY		:= ply-$(PYTHON3_PLY_VERSION)
PYTHON3_PLY_SUFFIX	:= tar.gz
PYTHON3_PLY_URL		:= $(call ptx/mirror-pypi, ply, $(PYTHON3_PLY).$(PYTHON3_PLY_SUFFIX))
PYTHON3_PLY_SOURCE	:= $(SRCDIR)/$(PYTHON3_PLY).$(PYTHON3_PLY_SUFFIX)
PYTHON3_PLY_DIR		:= $(BUILDDIR)/$(PYTHON3_PLY)
PYTHON3_PLY_LICENSE	:= BSD

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

PYTHON3_PLY_CONF_TOOL	:= python3

# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------

$(STATEDIR)/python3-ply.targetinstall:
	@$(call targetinfo)

	@$(call install_init, python3-ply)
	@$(call install_fixup, python3-ply, PRIORITY, optional)
	@$(call install_fixup, python3-ply, SECTION, base)
	@$(call install_fixup, python3-ply, AUTHOR, "Robin van der Gracht <robin@protonic.nl>")
	@$(call install_fixup, python3-ply, DESCRIPTION, missing)

	@$(call install_glob, python3-ply, 0, 0, -, \
		$(PYTHON3_SITEPACKAGES)/ply,, *.py)

	@$(call install_finish, python3-ply)

	@$(call touch)

# vim: syntax=make