Commit Graph

33 Commits

Author SHA1 Message Date
Michael Forney
1d4f747eb6 python: Install man page 2019-11-17 15:24:25 -08:00
Michael Forney
f4720910b9 Update ninja requirement to 1.8.0 and don't bother with atomic outputs
Since ninja 1.8.0[0] and samurai 0.2[1], output mtime is always
recorded after a job succeeds, and outputs are considered dirty if
the recorded mtime is older than any input. This means that even
if a command partially writes its output then fails (for example,
if run with stdout redirected to a file), it will still get re-run
during the next build.

This means that outputs no longer have to be written atomically
(i.e. renamed into place) in order to ensure a correct build, and
we can drop the idiom `command >$out.tmp && mv $out.tmp $out`.

[0] 04d886b110
[1] 799bc5a471
2019-11-17 15:24:25 -08:00
Michael Forney
fe9c89c185 python: Update to 3.8.0 2019-10-18 00:17:21 -07:00
Michael Forney
075e37159d python: Don't add -fwrapv to CFLAGS 2019-08-12 02:24:38 +00:00
Michael Forney
4621c1b490 python: Update to 3.7.4 2019-07-09 23:13:42 -07:00
Michael Forney
e53001730f python: Backport a few portability fixes 2019-07-03 02:43:39 -07:00
Michael Forney
48b309a7bb python: Update to 3.7.3 2019-03-29 13:33:58 -07:00
Michael Forney
a90197018f python: Install Grammar.txt and PatternGrammar.txt
This is needed by lib2to3.
2019-03-19 00:52:21 -07:00
Michael Forney
ebce1723ec python: Update to 3.7.2 2019-03-19 00:52:21 -07:00
Michael Forney
4332740046 Rename rev to ver, and keep track of package versions as well 2019-03-19 00:14:12 -07:00
Michael Forney
1f8d87f3e3 python: Disable gettext
We don't install any translation files, and some toolchains (e.g.
alpine) require linking with libintl.
2019-03-16 19:24:51 -07:00
Michael Forney
bcd889d2c9 Call lua as lua5.2 to make sure we get the right version 2018-11-12 12:14:21 -08:00
Michael Forney
259afc323f python: Update config.h for musl 1.1.20 2018-11-06 00:00:25 -08:00
Michael Forney
9207ea2b44 python: Update to 3.7.1 2018-11-05 11:52:19 -08:00
Michael Forney
afcfaa1a36 python: Fix DATE and TIME in getbuildinfo.c 2018-08-30 16:24:35 -07:00
Michael Forney
d91ba51ce9 python: Update to 3.7.0 2018-08-26 13:29:08 -07:00
Michael Forney
fba8f121a2 python: Update to 3.6.5 2018-04-12 14:30:25 -07:00
Michael Forney
e9ae64be1a python: Fix build with libressl-2.7.0 2018-03-23 21:09:56 -07:00
Michael Forney
f4c50108da Add raw mode for iterlines 2017-12-30 22:43:47 -08:00
Michael Forney
577110ae20 python: Update to 3.6.3 2017-10-04 01:08:57 -07:00
Michael Forney
ba94a8513d Rewrite ninja generation scripts in Lua 2017-09-25 19:23:06 -07:00
Michael Forney
478ea3bf7d python: Use Setup based on setup.py
Setup.dist is incomplete and is missing things like _multiprocessing.

Instead, build up Setup by scanning through setup.py for "Extension".

This adds the following modules:
* _json
* _multiprocessing
* _opcode
2017-09-01 19:07:48 -07:00
Michael Forney
6fa5f88e60 Don't use -isystem
This way we can use -MMD to exclude system header files and still retain
dependency tracking within oasis.
2017-08-19 19:07:18 -07:00
Michael Forney
21878c5290 python: Update to 3.6.2 2017-08-04 00:19:39 -07:00
Michael Forney
bd078805e6 expat: Use arc4random_buf 2017-07-15 00:44:53 -07:00
Michael Forney
d54fcd4057 python: Update to 3.6.1 2017-03-24 13:40:59 -07:00
Michael Forney
bc4a9176f8 python: Set DATE and TIME for reproducible builds 2017-03-24 12:43:31 -07:00
Michael Forney
806dda2e91 python: Update lib directory name and VERSION to 3.6
This was accidentally omitted in 1fa2eca8be.
2017-02-10 20:12:56 -08:00
Michael Forney
a4b4e6bb96 Use $OLDPWD 2017-02-07 14:36:26 -08:00
Michael Forney
b47f3fc7cb python: Disable PYMALLOC 2017-02-07 14:36:26 -08:00
Michael Forney
1fa2eca8be python: Update to 3.6.0 2017-02-07 14:36:26 -08:00
Michael Forney
6aceb3586b python: Update to 3.5.3 2017-02-07 14:36:26 -08:00
Michael Forney
293f5a93b7 Move to flat package hierarchy
Note to self: never try to move submodules again

To migrate your existing submodules (more or less):

	set -x
	set -e

	mkdir .git/modules/pkg
	for old in */*/src ; do
	        new="pkg/${old#*/}"
	        if ! [ -f "$old/.git" ] || [ "${old%%/*}" = pkg ] ; then
			continue
		fi
		git -C ".git/modules/$old" config core.worktree "../../../../../$new"
		rmdir "$new"
		mv "$old" "$new"
	        sed -e "s,$old,$new," "$new/.git" > "$new/.git.tmp"
	        mv "$new/.git.tmp" "$new/.git"
		mkdir ".git/modules/${new%/src}"
	        mv ".git/modules/$old" ".git/modules/$new"

		rm "${old%/src}"/*.ninja
		mv "${old%/src}"/*.tar.{gz,xz,bz2} "${new%/src}/"
		rmdir "${old%/src}" || true
	done
	sed -e 's,^\[submodule "[^/]*/,[submodule "pkg/,' .git/config > .git/config.tmp
	mv .git/config.tmp .git/config
2016-12-13 23:10:30 -08:00