Commit graph

3,762 commits

Author SHA1 Message Date
469a4f3657 Release 1.0.0-109@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2023-03-19 17:14:20 +00:00
56704c66f2 Start version: 1.0.0-109
Signed-off-by: janware DevOps <devops@janware.com>
2023-03-19 17:13:46 +00:00
32450c47bf jw-pckg: Fix duplicates in compile-templates
Files were listed twice in compile-templates, because apparently, during
postinstall, rpm -ql returns the list of a packages files twice.

Signed-off-by: Jan Lindemann <jan@janware.com>
2023-03-19 14:28:10 +00:00
1fd318687d Release 1.0.0-108@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2023-03-17 13:24:05 +00:00
b91cdf65bb Start version: 1.0.0-108
Signed-off-by: janware DevOps <devops@janware.com>
2023-03-17 13:23:34 +00:00
17851c9d11 projects.mk / py-defs.mk: Support Python 3.10
The current globbing pattern for filling the PYTHON variable doesn't
account for the fact that /usr/bin/python3.X might have more than one
digit for X, fix that

Signed-off-by: Jan Lindemann <jan@janware.com>
2022-10-04 11:05:24 +00:00
c87986624f py-mods.mk: Add missing py.clean
py.clean is not run for clean target, fix that

Signed-off-by: Jan Lindemann <jan@janware.com>
2022-10-04 11:03:29 +00:00
c8ae18ea6f Release 1.0.0-107@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2021-09-26 19:15:37 +00:00
b633e9637c pkg.sh: Filter out system installation directories below /usr
System installation directories should not belong to jw-build-generated
packages, so exclude them via regex.

Signed-off-by: Jan Lindemann <jan@janware.com>
2021-09-26 19:14:58 +00:00
d9b049e27d Start version: 1.0.0-107
Signed-off-by: janware DevOps <devops@janware.com>
2021-09-26 17:36:10 +00:00
e3489d6222 purge-stale-projects.sh: Ignore untracked files
Untracked files flag a git repository as unfit for purging, don't do that. We
don't care for untracked files.

Signed-off-by: Jan Lindemann <jan@janware.com>
2021-01-30 13:05:58 +00:00
53491b490d debugger.mk: Remove .gdb_history with distclean target
Signed-off-by: Jan Lindemann <jan@janware.com>
2021-01-15 10:58:29 +00:00
d6e1eaf547 depend.mk: Make .o.dep.mk also depend on $(SRC_H)
This should prevent some errors during compilation.

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-12-01 16:24:43 +00:00
c43fd8d0aa defs-cpp.mk: Add .hh to LOCAL_H
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-12-01 16:24:42 +00:00
b3c093fd94 pkg.sh: Don't exclude .in files from source package
Building with .in files should work just fine, so don't exclude them anylonger.

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-12-01 16:21:22 +00:00
cec581c8f6 vim.mk: Add variable INSTALL_VIM_SYSTEM_PATH
Add INSTALL_VIM_SYSTEM_PATH for use in including makefiles

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-12-01 16:21:21 +00:00
0596109c36 run.mk: Add variable EXE_CMD
Add variable EXE_CMD to be overriden in including makefiles

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-12-01 16:21:20 +00:00
8d2b093cc6 defs.mk: Replace tr invocations by $(TR)
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-12-01 16:21:19 +00:00
50988845d7 defs.mk: Add .hh to SRC_H
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-11-30 16:52:50 +00:00
d8bbe0fe60 Release 1.0.0-106@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2020-11-30 13:44:46 +00:00
8b30c95155 Start version: 1.0.0-106
Signed-off-by: janware DevOps <devops@janware.com>
2020-11-30 13:44:08 +00:00
4ebe82970f projects-dir.mk: Make INTERACTIVE=true default
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-11-30 13:32:30 +00:00
8e9591440c Release 1.0.0-105@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2020-11-22 12:49:06 +00:00
ddd8a00c92 Start version: 1.0.0-105
Signed-off-by: janware DevOps <devops@janware.com>
2020-11-22 12:48:28 +00:00
e06ead38cc swig.mk, defs-(dist|dev).mk: Fix Python 3 support
python38.pc doesn't exist on OpenSUSE Tumbleweed, python-38.pc does, so use
that naming scheme. Also allow installation with DEVELOPMENT=true, failed with
the attempt to install as root user before.

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-11-21 13:09:15 +00:00
97a74b10b6 Release 1.0.0-104@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2020-11-21 10:02:54 +00:00
65e3f34145 Start version: 1.0.0-104
Signed-off-by: janware DevOps <devops@janware.com>
2020-11-21 10:02:17 +00:00
b35b87009b topdir.mk: Add pkg-manager targets
Add targets also present in projects-dir.mk:

  - Pkg-manager-refresh
  - Pkg-manager-install-build-deps
  - Pkg-manager-install-release-deps

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-11-11 16:16:42 +00:00
f368175d50 Release 1.0.0-103@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2020-08-29 14:02:27 +00:00
6846acbdf7 svg.mk: Fix inkscape command line API change on --export-png
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-08-29 14:01:42 +00:00
cd047ac7c7 Start version: 1.0.0-103
Signed-off-by: janware DevOps <devops@janware.com>
2020-08-29 11:59:34 +00:00
663af37f3f Release 1.0.0-102@debian-10/armhf
Signed-off-by: Janware DevOps <devops@janware.com>
2020-06-16 17:09:46 +00:00
c37f49a170 project.conf + pkg-manager.sh: Add support for raspbian
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-06-16 17:05:03 +00:00
f3febfa460 py-defs.mk, projects.mk: Fix /usr/bin/python globbing on OpenSUSE
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-05-18 13:15:35 +00:00
caf33841b4 py-defs.mk, projects.mk: Use latest install Python
Use $(lastword $(shell ls -v /usr/bin/python[0-9]*)) for the Python version to use.

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-05-16 13:22:51 +00:00
a82fa9023b py-xxx.mk: Introduce PYTHON_MAJOR
Where *.pyc files are created is decided by PYTHON_MAJOR, not PYTHON_VERSION,
so introduce it.

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-05-16 13:09:16 +00:00
15f39de08f Release 1.0.0-102@suse-tumbleweed/x86_64
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-05-10 09:50:19 +00:00
c64aea01e0 Start version: 1.0.0-102
Signed-off-by: janware DevOps <devops@janware.com>
2020-05-10 09:47:15 +00:00
52bf5d3a0f Release 1.0.0-101@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2020-05-10 08:17:39 +00:00
5de62b3cc5 Start version: 1.0.0-101
Signed-off-by: janware DevOps <devops@janware.com>
2020-05-10 08:17:08 +00:00
5e9168480a project-dirs.mk / pgit.sh: Add support for offlining projects
This adds support for the variable OFFLINE_PROJECTS in projects-dir.mk and the
PGIT_IGNORE environment variable. Both go hand in hand and do what their names
insinuate. OFFLINE_PROJECTS is initialized from EXCLUDE_FROM_BUILD, which in
turn is initialized from exclude.txt and friends.

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-05-10 08:07:22 +00:00
fab119fca9 py-defs.mk: Add MYPYPATH to py-libpath target
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-04-26 19:04:18 +00:00
f9c7582e2b rpmdist.mk: Fix target echo-requires
echo-requires doesn\'t work because all non-pkg-% targets are disabled
in rpmdist.mk, so rename it to pkg-requires. Also add support for build
deps.

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-04-12 06:13:31 +00:00
a404be15b9 make, scripts: Add support for static Python typechecking
This commit adds support for static typechecking with mypy.

Notable additions:

  - A new target "check" which does the type checking

  - Py-mods.mk, meant to be included from a directory containing python modules
    in subdirectories, but not being a python module itself. It makes the all
    target depend on check only if PY_RUN_CHECK_AFTER_BUILD is defined and
    true.  That's because pypy is under heavy development, and the Ubuntu 18.04
    version is too old to work for lots of the code.

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-04-10 12:13:12 +00:00
089aebeaec scm.sh clean: Make git clean ignore .gitignore
scm.sh clean doesn't remove files in .gitignore, which is kind of beside the
point. Fix that.

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-04-10 12:03:43 +00:00
47221aabdb defs-dirs.mk: Add support for EXTRA_SUBDIR_TARGETS
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-04-10 12:03:42 +00:00
5f3c4a6320 jw-build-create-project.sh: Add __init__.py and __pychache__ to .gitignore
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-04-06 07:03:32 +00:00
5f9258bdf8 jw-build-create-project.sh: Add *.swp to .gitignore
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-04-05 12:54:49 +00:00
7fb117a4c4 python-tools.sh: Make __init__py recognize multiple package modules
import my.mod.thing, my.mod.thang wouldn't work, if the modules where not in
the same directory hierarchy, e.g. in $(HOME)/blah/my/mod/thing.py and
$(HOME)/blub/my/mod/thang.py, not even with PYTHONPATH=$(HOME)/blah:$(HOME)/blub.

This commit fixes that.

See https://stackoverflow.com/questions/1675734

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-04-05 12:51:11 +00:00
477d4e2d8d rpmdist.mk: Remove make/.cache.mk with clean target
make rpm-build sometimes fails because RPM_VERSION is taken from .cache.mk. Not
sure if this commit always resolves that entirely, but it mitigates the
problem.

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-04-05 12:51:10 +00:00