Skip to content

Commit

Permalink
dev-lua/luaexpat: Bump v.1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
geaaru committed Aug 24, 2023
1 parent f7f02fc commit 0592d9d
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 0 deletions.
29 changes: 29 additions & 0 deletions packages/atoms/base-lang/dev-lua/luaexpat/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
prelude:
- |-
export FEATURES="-sandbox -usersandbox -ipc-sandbox -pid-sandbox -network-sandbox" && \
export JOBS={{ ( index .Values.labels "jobs" ) | default "3" }} && \
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 }}
- export LUET_PORTAGE_CACHE_PACKAGES="/var/cache/portage/packages" && export LUET_PORTAGE_IGNORE_TAR_WARNING=1
&& export LUET_PORTAGE_PKGMETA=1 && export LUET_PORTAGE_PKGFILES=1 && eval 'rm -rf
/pkgdir/ || true' && mkdir -p /pkgdir/{{ .Values.name }} && luet-portage --dir /pkgdir/{{
.Values.name }} {{ ( index .Values.labels "emerge.packages" ) }} && eval 'rm -v
/var/cache/distfiles/* ${LUET_PORTAGE_CACHE_PACKAGES}/* || true'
package_dir: /pkgdir/{{ .Values.name }}
excludes:
- ^/var/cache/portage/
- ^/var/git/
requires:
- name: lua
version: '>=0'
category: dev-lang
32 changes: 32 additions & 0 deletions packages/atoms/base-lang/dev-lua/luaexpat/definition.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: luaexpat
version: 1.3.0
category: dev-lua
requires:
- name: lua
version: '>=0'
category: dev-lang
- name: expat
version: '>=0'
category: dev-libs
annotations:
subsets:
rules:
devel:
- ^/usr/include/
portage:
- ^/var/db/pkg/
description: LuaExpat is a SAX XML parser based on the Expat library
uri:
- http://www.keplerproject.org/luaexpat/
license: MIT
labels:
DEPEND: '>=dev-lang/lua-5.1.5-r2[deprecated,-mgorny(-)] >=dev-libs/expat-2.1.0-r3[-mgorny(-)]
>=virtual/pkgconfig-0-r1[-mgorny(-)]'
IUSE: abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_s390_32
abi_s390_64
RDEPEND: '>=dev-lang/lua-5.1.5-r2[deprecated,-mgorny(-)] >=dev-libs/expat-2.1.0-r3[-mgorny(-)]'
emerge.packages: dev-lua/luaexpat
kit: lang-kit
original.package.name: dev-lua/luaexpat
original.package.slot: "0"
original.package.version: 1.3.0-r1

0 comments on commit 0592d9d

Please sign in to comment.