summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-incremental_24.7.2.bb
blob: dc8ecb330233b3fcef8cb9b947ad676a57dc2f18 (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
DESCRIPTION = "Incremental is a small library that versions your Python projects"
HOMEPAGE = "https://github.com/twisted/incremental"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=6ca9b07f08e2c72d48c74d363d1e0e15"

SRC_URI[sha256sum] = "fb4f1d47ee60efe87d4f6f0ebb5f70b9760db2b2574c59c8e8912be4ebd464c9"

inherit pypi python_setuptools_build_meta

PACKAGE_BEFORE_PN = "\
    ${PN}-scripts \
    ${PN}-tests \
"

FILES:${PN}-scripts = "\
    ${PYTHON_SITEPACKAGES_DIR}/incremental/update.py \
    ${PYTHON_SITEPACKAGES_DIR}/incremental/__pycache__/update*.pyc \
"

RDEPENDS:${PN}-scripts = "\
    python3-click \
"

FILES:${PN}-tests = "${PYTHON_SITEPACKAGES_DIR}/incremental/tests"

# The tests require unit testing tool 'trial' from the twisted package
RDEPENDS:${PN}-tests = "\
    ${PN}-scripts \
    python3-twisted \
"

BBCLASSEXTEND = "native"