summaryrefslogtreecommitdiffstats
path: root/rules/python3-gbulb.make
blob: b689a041598604eea9da067a14bd803623b8a4c1 (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
53
54
55
# -*-makefile-*-
#
# Copyright (C) 2015 by Bastian Stender <bst@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
PACKAGES-$(PTXCONF_PYTHON3_GBULB) += python3-gbulb

#
# Paths and names
#
PYTHON3_GBULB_VERSION	:= a2d994a808822aa1d9a5c8e4398ff72f746d5b8f
PYTHON3_GBULB_MD5	:= d999dd21187b599ff47b5896de3591ff
PYTHON3_GBULB		:= gbulb-$(PYTHON3_GBULB_VERSION)
PYTHON3_GBULB_SUFFIX	:= zip
PYTHON3_GBULB_URL	:= https://github.com/nathan-hoad/gbulb/archive/$(PYTHON3_GBULB_VERSION).$(PYTHON3_GBULB_SUFFIX)
PYTHON3_GBULB_SOURCE	:= $(SRCDIR)/$(PYTHON3_GBULB).$(PYTHON3_GBULB_SUFFIX)
PYTHON3_GBULB_DIR	:= $(BUILDDIR)/$(PYTHON3_GBULB)
PYTHON3_GBULB_LICENSE	:= Apache-2.0

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

PYTHON3_GBULB_CONF_TOOL	:= python3

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

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

	@$(call install_init, python3-gbulb)
	@$(call install_fixup, python3-gbulb, PRIORITY, optional)
	@$(call install_fixup, python3-gbulb, SECTION, base)
	@$(call install_fixup, python3-gbulb, AUTHOR, "Bastian Stender <bst@pengutronix.de>")
	@$(call install_fixup, python3-gbulb, DESCRIPTION, \
		"A Python library that implements a PEP 3156 interface for the GLib main event loop.")

	@$(call install_glob, python3-gbulb, 0, 0, -, \
		/usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/gbulb,, *.py)

	@$(call install_finish, python3-gbulb)

	@$(call touch)

# vim: syntax=make