Skip to content

Commit

Permalink
dev-util/itstool: Bump v.2.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
geaaru committed Aug 15, 2023
1 parent fa0cf17 commit 0b1081d
Show file tree
Hide file tree
Showing 2 changed files with 94 additions and 0 deletions.
33 changes: 33 additions & 0 deletions packages/atoms/base-tools/dev-util/itstool/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
env:
- JOBS={{ ( index .Values.labels "jobs" ) | default "3" }}
- LUET_PORTAGE_CACHE_PACKAGES="/var/cache/portage/packages"
- LUET_PORTAGE_IGNORE_TAR_WARNING=1
- LUET_PORTAGE_PKGMETA=1
- LUET_PORTAGE_PKGFILES=1
- FEATURES="-sandbox -usersandbox -ipc-sandbox -pid-sandbox -network-sandbox"
prelude:
- |
eval 'mkdir -p /var/cache/portage/distfiles || true' && \
chown portage:portage -R /var/cache/portage/ && \
{{- if .Values.use_flags }}
USE="{{ join " " .Values.use_flags }}" emerge {{ ( index .Values.labels "emerge.packages" ) }} -pv -t
{{- else }}
emerge -j ${JOBS} {{ ( index .Values.labels "emerge.packages" ) }} -pv -t
{{- end }}
- |
{{- if .Values.use_flags }}
USE="{{ join " " .Values.use_flags }}" emerge -j ${JOBS} --nodeps {{ ( index .Values.labels "emerge.packages" ) }}
{{- else }}
emerge -j ${JOBS} --nodeps {{ ( index .Values.labels "emerge.packages" ) }}
{{- end }}
- eval 'rm -rf /pkgdir/ || true' && mkdir -p /pkgdir/{{ .Values.name }} && luet-portage
--dir /pkgdir/{{ .Values.name }} {{ ( index .Values.labels "emerge.packages" ) }}
- rm -v /var/cache/distfiles/* ${LUET_PORTAGE_CACHE_PACKAGES}/* || true
package_dir: /pkgdir/{{ .Values.name }}
excludes:
- ^/var/cache/portage/
- ^/var/git/
requires:
- name: libxslt
version: '>=0'
category: dev-libs
61 changes: 61 additions & 0 deletions packages/atoms/base-tools/dev-util/itstool/definition.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: itstool
version: 2.0.6
category: dev-util
use_flags:
- -python_single_target_python2_7
- -python_single_target_python3_10
- -python_single_target_python3_7
- -python_single_target_python3_8
- python_single_target_python3_9
requires:
- name: python
version: '>=0'
category: dev-lang-3.9
- name: python-exec
version: '>=0'
category: dev-lang-2
- name: libxml2
version: '>=0'
category: dev-libs-2
annotations:
subsets:
rules:
devel:
- ^/usr/include/
portage:
- ^/var/db/pkg/
description: Translation tool for XML documents that uses gettext files and ITS rules
uri:
- http://itstool.org/
license: GPL-3+ || ( HPND GPL-3+ )
labels:
DEPEND: python_single_target_python3_7? ( dev-lang/python:3.7[xml] >=dev-lang/python-exec-2:=[python_targets_python3_7]
) python_single_target_python3_9? ( dev-lang/python:3.9[xml] >=dev-lang/python-exec-2:=[python_targets_python3_9]
) python_single_target_python3_8? ( dev-lang/python:3.8[xml] >=dev-lang/python-exec-2:=[python_targets_python3_8]
) python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml] >=dev-lang/python-exec-2:=[python_targets_python2_7]
) python_single_target_python3_10? ( dev-lang/python:3.10[xml] >=dev-lang/python-exec-2:=[python_targets_python3_10]
) python_single_target_python3_7? ( dev-libs/libxml2[python,python_targets_python3_7(-)]
) python_single_target_python3_9? ( dev-libs/libxml2[python,python_targets_python3_9(-)]
) python_single_target_python3_8? ( dev-libs/libxml2[python,python_targets_python3_8(-)]
) python_single_target_python2_7? ( dev-libs/libxml2[python,python_targets_python2_7(-)]
) python_single_target_python3_10? ( dev-libs/libxml2[python,python_targets_python3_10(-)]
)
IUSE: python_single_target_python3_7 python_single_target_python3_9 python_single_target_python3_8
python_single_target_python2_7 python_single_target_python3_10 python_targets_python3_7
python_targets_python3_9 python_targets_python3_8 python_targets_python2_7 python_targets_python3_10
RDEPEND: python_single_target_python3_7? ( dev-lang/python:3.7[xml] >=dev-lang/python-exec-2:=[python_targets_python3_7]
) python_single_target_python3_9? ( dev-lang/python:3.9[xml] >=dev-lang/python-exec-2:=[python_targets_python3_9]
) python_single_target_python3_8? ( dev-lang/python:3.8[xml] >=dev-lang/python-exec-2:=[python_targets_python3_8]
) python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml] >=dev-lang/python-exec-2:=[python_targets_python2_7]
) python_single_target_python3_10? ( dev-lang/python:3.10[xml] >=dev-lang/python-exec-2:=[python_targets_python3_10]
) python_single_target_python3_7? ( dev-libs/libxml2[python,python_targets_python3_7(-)]
) python_single_target_python3_9? ( dev-libs/libxml2[python,python_targets_python3_9(-)]
) python_single_target_python3_8? ( dev-libs/libxml2[python,python_targets_python3_8(-)]
) python_single_target_python2_7? ( dev-libs/libxml2[python,python_targets_python2_7(-)]
) python_single_target_python3_10? ( dev-libs/libxml2[python,python_targets_python3_10(-)]
)
emerge.packages: dev-util/itstool
kit: core-kit
original.package.name: dev-util/itstool
original.package.slot: "0"
original.package.version: 2.0.6-r1

0 comments on commit 0b1081d

Please sign in to comment.