Commit graph

15 commits

Author SHA1 Message Date
Marius Bakke
568d060327
gnu: libselinux: Install python bindings to separate output.
This reduces the closure size of glib from 203.1 to 111.3 MiB.

* gnu/packages/selinux.scm (libselinux)[outputs]: New field.
[arguments]: Set PYSITEDIR to the new "python" output.
2019-07-11 15:40:20 +02:00
Ricardo Wurmus
44d10b1f72
gnu: Separate Python core packages from the rest.
* gnu/packages/python.scm: Move hundreds of package definitions from here...
* gnu/packages/python-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/audio.scm,
gnu/packages/backup.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/cluster.scm,
gnu/packages/compression.scm,
gnu/packages/connman.scm,
gnu/packages/crypto.scm,
gnu/packages/cups.scm,
gnu/packages/databases.scm,
gnu/packages/dav.scm,
gnu/packages/direct-connect.scm,
gnu/packages/disk.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/docker.scm,
gnu/packages/ebook.scm,
gnu/packages/elf.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm,
gnu/packages/finance.scm,
gnu/packages/fltk.scm,
gnu/packages/fontutils.scm,
gnu/packages/freedesktop.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gl.scm,
gnu/packages/glib.scm,
gnu/packages/gnome.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/gtk.scm,
gnu/packages/ham-radio.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/key-mon.scm,
gnu/packages/libffi.scm,
gnu/packages/libreoffice.scm,
gnu/packages/libusb.scm,
gnu/packages/lirc.scm,
gnu/packages/logging.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/mate.scm,
gnu/packages/maths.scm,
gnu/packages/medical.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mp3.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nutrition.scm,
gnu/packages/openldap.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/polkit.scm,
gnu/packages/protobuf.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/qt.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/search.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/simulation.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/sync.scm,
gnu/packages/terminals.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/virtualization.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wicd.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xorg.scm: Update module references.
2019-01-15 14:46:44 +01:00
Tobias Geerinckx-Rice
bb6c3d2332
gnu: libsemanage: Return #t from all phases.
* gnu/packages/selinux.scm (libsemanage)[arguments]: Substitute INVOKE
for SYSTEM*.
2018-06-22 00:20:11 +02:00
Mark H Weaver
927c52c4ab
gnu: libselinux: Use invoke.
* gnu/packages/selinux.scm (libselinux)[arguments]: Use invoke in the 'pywrap'
and 'install-pywrap' phases.
2018-03-25 05:02:07 -04:00
Ricardo Wurmus
50e8790335
gnu: libsepol: Fix build on non-x86_64.
* gnu/packages/selinux.scm (libsepol)[arguments]: Add phase "portability".
(checkpolicy, libselinux, libsemanage, secilc, python-sepolgen,
python-setools, policycoreutils)[arguments]: Remove inherited phase
"portability".
2018-01-29 23:40:23 +01:00
Ricardo Wurmus
ca56021c26
gnu: Update SELinux packages.
* gnu/packages/selinux.scm (libsepol): Update to 2.7, release 20170804.
[source]: Fetch from git.
(checkpolicy)[arguments]: Set LIBSEPOLA.
(libselinux)[arguments]: Likewise; remove build phase "patch-libsepol-path".
(python-sepolgen)[arguments]: Adjust directory name in "enter-dir".
(python-setools): Update to 4.1.1.
[source]: Fetch from git.
(policycoreutils)[source]: Remove patch.
[arguments]: Remove build phases "fix-glib-cflags",
"fix-linkage-with-libsepol", "fix-target-paths", and "wrap-python-tools".
[inputs]: Remove python-wrapper, python-sepolgen, python-setools, python-ipy,
libcap-ng, pcre, dbus, dbus-glib, and glib.
* gnu/packages/patches/policycoreutils-make-sepolicy-use-python3.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2018-01-25 00:36:26 +01:00
Kei Kebreau
9ffc1f0e95
gnu: libselinux: Propagate libsepol and pcre.
Both libsepol and pcre required by libselinux.pc.

* gnu/packages/selinux.scm (libselinux)[inputs]: Move libsepol and pcre...
[propagated-inputs]: ...here.
2017-06-15 02:47:45 -04:00
Ricardo Wurmus
6ef94ecbaa
gnu: Add policycoreutils.
* gnu/packages/selinux.scm (policycoreutils): New variable.
2017-04-22 00:36:43 +02:00
Ricardo Wurmus
41da8dbe12
gnu: Add python-setools.
* gnu/packages/selinux.scm (python-setools): New variable.
2017-04-22 00:36:43 +02:00
Ricardo Wurmus
d7e2d273e1
gnu: Add python-sepolgen.
* gnu/packages/selinux.scm (python-sepolgen): New variable.
2017-04-22 00:36:43 +02:00
Ricardo Wurmus
c837027d38
gnu: Add secilc.
* gnu/packages/selinux.scm (secilc): New variable.
2017-04-22 00:36:43 +02:00
Ricardo Wurmus
32be66011a
gnu: Add libsemanage.
* gnu/packages/selinux.scm (libsemanage): New variable.
2017-04-22 00:36:42 +02:00
Ricardo Wurmus
4724d7297f
gnu: Add libselinux.
* gnu/packages/selinux.scm (libselinux): New variable.
2017-04-22 00:36:42 +02:00
Ricardo Wurmus
66af08fb5a
gnu: Add checkpolicy.
* gnu/packages/selinux.scm (checkpolicy): New variable.
2017-04-22 00:36:42 +02:00
Ricardo Wurmus
f269ad2536
gnu: Add libsepol.
* gnu/packages/selinux.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2017-04-22 00:36:42 +02:00