parent
8296166240
commit
a38f8f63c7
@ -1,23 +1,23 @@
|
|||||||
-----BEGIN PGP SIGNED MESSAGE-----
|
-----BEGIN PGP SIGNED MESSAGE-----
|
||||||
Hash: SHA512
|
Hash: SHA512
|
||||||
|
|
||||||
MANIFEST Manifest.files.gz 29630 BLAKE2B dc0c1edab4f6df9c195074639accc85b27b5dad7ce6acaecafbc613bf192b3544ab124d8668fe484ec80f3ea7683197bedeb6808fd4d5b2c0aa4ce1c11e7f428 SHA512 6c78c4312390521b9e3d3a522a2ad35db9101e1fbe2773b20cfa971629fb0c8523f1d76066e7e32676f58a23d8a0d56bdef3635df8f5d3c5449d36eb640f34df
|
MANIFEST Manifest.files.gz 29606 BLAKE2B 1f243fc85f0aa354fc47e75f817e7c8091490e4097f21ce4bc6a1e8dd06eebefce12e76fbae4714f76aa466c0cbabe0edb0a87330f8c258a835023ca5180149e SHA512 7d4be74fd91fe798ea6612eb19fd61727947eb531173fe97d179f005b1601946999c24e233ead3beab3291a797d8469af8f136ae90546f93deb78bfbb70cd928
|
||||||
TIMESTAMP 2022-02-01T05:09:11Z
|
TIMESTAMP 2022-02-01T18:09:07Z
|
||||||
-----BEGIN PGP SIGNATURE-----
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmH4wHdfFIAAAAAALgAo
|
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmH5d0NfFIAAAAAALgAo
|
||||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||||
klA2Xg/8CUi1E3SKUPY9iOw0HhL5am39VdcEgm+lev/lRCx/aNQduf+Lx7ujPNAy
|
klBilQ//WbwkI7qA15d4cL4GUh83O5WZOfd/lUNngr6FGXLTrcd+FzlGO6EEAsF2
|
||||||
MiTaVgOqJ+X0yZ7a9hntGgqykucak3zvJTmbiBox+IWg9JzAjSLQwMLh5Ab6umI8
|
+qRH/7t0JWfLepti06ShuuRAKrvW8H2iDn3KL7VdGWkeSZ4R1pfQ9HTBpT6nBgxo
|
||||||
l9ePj+crDk1cgcSe3/ME/qlD7y0WWFTXBRE8gCtOiZibnGFD8JWv2Cv//SZIMU44
|
+pBbJCYYlwr4GwXQSrtp9BIl9rTc36uD3LNeYyLnXViUs+CPvCR9ihz6MzbagPyo
|
||||||
xeiwFTmM6XexzsdX1L6DhIaBvD4hWWxJ/MCYvQWeiKxdAyCUGsv1mjd9xUi7u8Zh
|
oRrZgjIP9nt5GJNffWgh+9HDS7arLYhD+zuNCSA+q/c7Nq6MqqxYdfRhxapgZp7z
|
||||||
GQFa7d31w5oaS3aaY0cfiaLKvDUsLIkozqGwsgCa9m3DZhYWctco18ZSlSg9QiJk
|
QG/CvKAZ5uF42yHgsBNt1nOYvGOVedq1PF+1YaysSJPfOL1k9Y1bl64+xffgp5bU
|
||||||
9AeZDirjJU+9e7VS52+j3aKSebBJxks+xhNe/V3jTxPna8PtMTYocDkNKdH/WeNW
|
ka+ggNTPZAHdqdywctgqoZ16PRi/nXllnVdLCmvB78ZZDV4OtoJ/OODv44U17Jac
|
||||||
xYLjvKHxhPdFvBLLHfg1os+GsCLZ09gkBt9iernA6xC0H8F3+zHRj3AA6pqgXpFz
|
HfyiJda6wDRGLHlqXOjB+SbuE3O/UZaRuhHbc1pzpIbETOS3yjEEhcBCaqAnrmKx
|
||||||
7pUgx44I51omjbTLPmKGLJbXy535pVz3uZeAPArQ8l91FP0BFcf61tBpOZ7tRt3G
|
4hhWGWc6qOgCYY59daTiLhIO+IDyIP3qvCclNLoGyr3PMtrgW6TRQo/WrcGKTh2F
|
||||||
hBUiwAGRiyXjVuS6ILJe/Z+cLe+in+kvfwWA0kYobWhcPFKeM1MHcWm0/iPF9tIr
|
dUtUITqTJPiB3y5ay2ANSOZKzRO0zG4u48uvEjEin+0EEIDfMKAxIGf5tsoEWThe
|
||||||
3ve9WznEF3DsXnz5rvqeP4pUxzX7Y/UmpyrDoOEFzVgK9kqGN74uXMbTOTRr9Z2A
|
fk8CFNKqoT/05jEtOtrZ3JIoKT5WrYhoNkMy6ddSBSqFfvcETkfeEBbVmXmJoVIC
|
||||||
NyVsLxp6xCybzjU2y4oZ1A1isMNHNvGLC9I2F4XFdsHkPtn/W4I=
|
Aut0U54/7HV2RG5E4wUJhQjgctyESxXeUh1+BZEhNrR+lL+K26I=
|
||||||
=3uFq
|
=pO0Y
|
||||||
-----END PGP SIGNATURE-----
|
-----END PGP SIGNATURE-----
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,2 @@
|
|||||||
|
EBUILD biboumi-0.ebuild 151 BLAKE2B f87f423bcdf9f62bc0308265ffb19739b471747be382a5753d957c6e1d2017763a8c4f73e5469b92f516330a678f5f3f66b11b67e5e5f0f52c4c51e88d0d3b83 SHA512 7978756fb79cb8c100f5907237afb9f655ce4d07e6b6eb002cdc037161d4a5c8cc4181954874e2104cdeb183c03a8cded800cd5057164121cc0b4a23618908b3
|
||||||
|
MISC metadata.xml 246 BLAKE2B e270b04a529da44d267eaf5bfd160569fc99a3521dfc6495e0a4db19c98e5b9badf77774cc80c7be905f3e97b1c75784bc7b4cb6bfe659d726a47c7ae70e7bfb SHA512 7e2151bbca24beeefd585e18d6c1108442b2d9197679876bb180da3d4896602e83ea701432ff67fc61cccfa9bf642a01a62d87bacf32c55e0a54336c7c5a2c53
|
@ -0,0 +1,8 @@
|
|||||||
|
# Copyright 2020-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit acct-group
|
||||||
|
|
||||||
|
ACCT_GROUP_ID=508
|
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<name>Florian Schmaus</name>
|
||||||
|
<email>flow@gentoo.org</email>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
Binary file not shown.
@ -0,0 +1,2 @@
|
|||||||
|
EBUILD biboumi-0.ebuild 236 BLAKE2B 458acccd702c6fb762a779433f18399bb572d17b6194b85f28bf545e2cc558662ac2d56ac8de2797ed64519498e7a08f128cf6c2702226d5998a038eca8f04f0 SHA512 51124a78e9fd83ba3df510a74b14a6055ac15c61a40b71e8e52fa2a5cd56f7d08fff08e4268609256d294c17f22f2167bb41bc5b7adb47cfdc212628b320f972
|
||||||
|
MISC metadata.xml 246 BLAKE2B e270b04a529da44d267eaf5bfd160569fc99a3521dfc6495e0a4db19c98e5b9badf77774cc80c7be905f3e97b1c75784bc7b4cb6bfe659d726a47c7ae70e7bfb SHA512 7e2151bbca24beeefd585e18d6c1108442b2d9197679876bb180da3d4896602e83ea701432ff67fc61cccfa9bf642a01a62d87bacf32c55e0a54336c7c5a2c53
|
@ -0,0 +1,12 @@
|
|||||||
|
# Copyright 2020-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit acct-user
|
||||||
|
|
||||||
|
DESCRIPTION="User for net-im/biboumi"
|
||||||
|
ACCT_USER_ID=508
|
||||||
|
ACCT_USER_GROUPS=( biboumi )
|
||||||
|
|
||||||
|
acct-user_add_deps
|
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<name>Florian Schmaus</name>
|
||||||
|
<email>flow@gentoo.org</email>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,9 +1,9 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7..10} )
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
CMAKE_WARN_UNUSED_CLI=no
|
CMAKE_WARN_UNUSED_CLI=no
|
||||||
#CMAKE_REMOVE_MODULES=yes
|
#CMAKE_REMOVE_MODULES=yes
|
||||||
|
|
@ -0,0 +1,359 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
CMAKE_WARN_UNUSED_CLI=no
|
||||||
|
#CMAKE_REMOVE_MODULES=yes
|
||||||
|
|
||||||
|
inherit python-any-r1 systemd cmake tmpfiles
|
||||||
|
|
||||||
|
DESCRIPTION="Featureful client/server network backup suite"
|
||||||
|
HOMEPAGE="https://www.bareos.org/"
|
||||||
|
SRC_URI="https://github.com/${PN}/${PN}/archive/Release/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
RESTRICT="mirror"
|
||||||
|
|
||||||
|
LICENSE="AGPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="X acl ceph clientonly +director glusterfs ipv6 lmdb
|
||||||
|
logwatch ndmp readline scsi-crypto
|
||||||
|
static +storage-daemon systemd tcpd vim-syntax vmware xattr"
|
||||||
|
|
||||||
|
# get cmake variables from core/cmake/BareosSetVariableDefaults.cmake
|
||||||
|
DEPEND="
|
||||||
|
!app-backup/bacula
|
||||||
|
acct-group/${PN}
|
||||||
|
!x86? (
|
||||||
|
ceph? ( sys-cluster/ceph )
|
||||||
|
)
|
||||||
|
glusterfs? ( sys-cluster/glusterfs )
|
||||||
|
lmdb? ( dev-db/lmdb )
|
||||||
|
dev-libs/gmp:0
|
||||||
|
!clientonly? (
|
||||||
|
acct-user/${PN}
|
||||||
|
dev-db/postgresql:*[threads]
|
||||||
|
director? (
|
||||||
|
virtual/mta
|
||||||
|
)
|
||||||
|
)
|
||||||
|
logwatch? ( sys-apps/logwatch )
|
||||||
|
ndmp? ( net-libs/rpcsvc-proto )
|
||||||
|
tcpd? ( sys-apps/tcp-wrappers )
|
||||||
|
readline? ( sys-libs/readline:0 )
|
||||||
|
static? (
|
||||||
|
acl? ( virtual/acl[static-libs] )
|
||||||
|
dev-libs/jansson:=[static-libs]
|
||||||
|
dev-libs/lzo[static-libs]
|
||||||
|
dev-libs/openssl:0=[static-libs]
|
||||||
|
sys-libs/ncurses:=[static-libs]
|
||||||
|
sys-libs/zlib[static-libs]
|
||||||
|
)
|
||||||
|
!static? (
|
||||||
|
acl? ( virtual/acl )
|
||||||
|
dev-libs/jansson:=
|
||||||
|
dev-libs/lzo
|
||||||
|
dev-libs/openssl:0=
|
||||||
|
sys-libs/ncurses:=
|
||||||
|
sys-libs/zlib
|
||||||
|
)
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
!clientonly? (
|
||||||
|
storage-daemon? (
|
||||||
|
sys-block/mtx
|
||||||
|
app-arch/mt-st
|
||||||
|
)
|
||||||
|
)
|
||||||
|
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
|
||||||
|
"
|
||||||
|
BDEPEND="${PYTHON_DEPS}"
|
||||||
|
|
||||||
|
REQUIRED_USE="
|
||||||
|
static? ( clientonly )
|
||||||
|
x86? ( !ceph )
|
||||||
|
"
|
||||||
|
|
||||||
|
S=${WORKDIR}/${PN}-Release-${PV}
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
local active_removed_backend=""
|
||||||
|
if has_version "<app-backup/bareos-21[director,mysql]"; then
|
||||||
|
if grep -qhriE "dbdriver.*=.*mysql" /etc/bareos/; then
|
||||||
|
active_removed_backend=MySQL
|
||||||
|
fi
|
||||||
|
elif has_version "<app-backup/bareos-21[director,sqlite]"; then
|
||||||
|
if grep -qhriE "dbdriver.*=.*sqlite" /etc/bareos/; then
|
||||||
|
active_removed_backend=SQLite
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if [[ -n $active_removed_backend ]]; then
|
||||||
|
ewarn
|
||||||
|
ewarn "You are currently using bareos with the $active_removed_backend"
|
||||||
|
ewarn "catalog backend."
|
||||||
|
ewarn
|
||||||
|
ewarn "THIS IS NOT SUPPORTED ANYMORE"
|
||||||
|
ewarn
|
||||||
|
ewarn "Beginning with version 21.0.0 bareos has dropped support for"
|
||||||
|
ewarn "MySQL and SQLite catalog backends."
|
||||||
|
ewarn
|
||||||
|
ewarn "To upgrade to bareos >=21.0.0 you need to migrate to PostgreSQL"
|
||||||
|
ewarn "catalog backend using the 'bareos-dbcopy' tool of your current"
|
||||||
|
ewarn "installation first."
|
||||||
|
ewarn
|
||||||
|
die "current catalog backend not supported anymore"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# fix gentoo platform support
|
||||||
|
eapply -p1 "${FILESDIR}/${PN}-21-cmake-gentoo.patch"
|
||||||
|
|
||||||
|
# fix missing DESTDIR in symlink creation
|
||||||
|
sed -i '/bareos-symlink-default-db-backend.cmake/d' "${S}/core/src/cats/CMakeLists.txt"
|
||||||
|
|
||||||
|
cmake_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=()
|
||||||
|
|
||||||
|
cmake_comment_add_subdirectory webui
|
||||||
|
|
||||||
|
if use clientonly; then
|
||||||
|
mycmakeargs+=(
|
||||||
|
-Dclient-only=ON
|
||||||
|
-Dstatic-cons=$(usex static)
|
||||||
|
-Dstatic-fd=$(usex static)
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
|
for useflag in acl ipv6 ndmp scsi-crypto \
|
||||||
|
systemd lmdb; do
|
||||||
|
mycmakeargs+=( -D$useflag=$(usex $useflag) )
|
||||||
|
done
|
||||||
|
|
||||||
|
mycmakeargs+=(
|
||||||
|
-DHAVE_PYTHON=0
|
||||||
|
-Darchivedir=/var/lib/bareos/storage
|
||||||
|
-Dbackenddir=/usr/$(get_libdir)/${PN}/backend
|
||||||
|
-Dbasename="`hostname -s`"
|
||||||
|
-Dbatch-insert=yes
|
||||||
|
-Dbsrdir=/var/lib/bareos/bsr
|
||||||
|
-Dconfdir=/etc/bareos
|
||||||
|
-Dcoverage=no
|
||||||
|
-Ddb_password=`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1`
|
||||||
|
-Ddir-group=bareos
|
||||||
|
-Ddir-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`"
|
||||||
|
-Ddir-user=bareos
|
||||||
|
-Ddocdir=/usr/share/doc/${PF}
|
||||||
|
-Ddynamic-cats-backends=yes
|
||||||
|
-Ddynamic-storage-backends=yes
|
||||||
|
-Dfd-group=bareos
|
||||||
|
-Dfd-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`"
|
||||||
|
-Dfd-user=root
|
||||||
|
-Dhost=${CHOST}
|
||||||
|
-Dhostname="`hostname -s`"
|
||||||
|
-Dhtmldir=/usr/share/doc/${PF}/html
|
||||||
|
-Dlibdir=/usr/$(get_libdir)
|
||||||
|
-Dlogdir=/var/log/bareos
|
||||||
|
-Dmandir=/usr/share/man
|
||||||
|
-Dmon-dir-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`"
|
||||||
|
-Dmon-fd-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`"
|
||||||
|
-Dmon-sd-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`"
|
||||||
|
-Dopenssl=yes
|
||||||
|
-Dpiddir=/run/bareos
|
||||||
|
-Dplugindir=/usr/$(get_libdir)/${PN}/plugin
|
||||||
|
-Dsbin-perm=0755
|
||||||
|
-Dsbindir=/usr/sbin
|
||||||
|
-Dscriptdir=/usr/libexec/bareos
|
||||||
|
-Dsd-group=bareos
|
||||||
|
-Dsd-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`"
|
||||||
|
-Dsd-user=root
|
||||||
|
-Dsubsysdir=/run/lock/subsys
|
||||||
|
-Dsysconfdir=/etc
|
||||||
|
-Dworkingdir=/var/lib/bareos
|
||||||
|
-Dx=$(usex X)
|
||||||
|
)
|
||||||
|
|
||||||
|
# disable droplet support for now as it does not build with gcc 10
|
||||||
|
# ... and this is a bundled lib, which should have its own package
|
||||||
|
cd core && cmake_comment_add_subdirectory "src/droplet"
|
||||||
|
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cmake_src_install
|
||||||
|
|
||||||
|
# remove some scripts we don't need at all
|
||||||
|
rm -f "${D}"/usr/libexec/bareos/{bareos,bareos-ctl-dir,bareos-ctl-fd,bareos-ctl-sd}
|
||||||
|
rm -f "${D}"/usr/sbin/bareos
|
||||||
|
|
||||||
|
# remove upstream init scripts and systemd units
|
||||||
|
rm -f "${D}"/etc/init.d/bareos-* "${D}"/lib/systemd/system/bareos-*.service
|
||||||
|
|
||||||
|
# remove misc stuff we do not need in production
|
||||||
|
rm -f "${D}"/etc/bareos/bareos-regress.conf
|
||||||
|
rm -f "${D}"/etc/logrotate.d/bareos-dir
|
||||||
|
|
||||||
|
# get rid of py2 stuff
|
||||||
|
rm -rf "$D"/usr/lib64/python2.7 || die
|
||||||
|
rm -f "$D"/usr/lib64/bareos/plugin/python-fd.so || die
|
||||||
|
if ! use vmware; then
|
||||||
|
rm -f "$D"/usr/lib64/bareos/plugin/{BareosFdPluginVMware.py,bareos-fd-vmware.py}
|
||||||
|
fi
|
||||||
|
|
||||||
|
# rename statically linked apps
|
||||||
|
if use clientonly && use static ; then
|
||||||
|
pushd "${D}"/usr/sbin || die
|
||||||
|
mv static-bareos-fd bareos-fd || die
|
||||||
|
mv static-bconsole bconsole || die
|
||||||
|
popd || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# extra files which 'make install' doesn't cover
|
||||||
|
if ! use clientonly; then
|
||||||
|
# the logrotate configuration
|
||||||
|
# (now unconditional wrt bug #258187)
|
||||||
|
diropts -m0755
|
||||||
|
insinto /etc/logrotate.d
|
||||||
|
insopts -m0644
|
||||||
|
newins "${S}"/core/scripts/logrotate bareos
|
||||||
|
|
||||||
|
# the logwatch scripts
|
||||||
|
if use logwatch; then
|
||||||
|
diropts -m0750
|
||||||
|
dodir /etc/log.d/scripts/services
|
||||||
|
dodir /etc/log.d/scripts/shared
|
||||||
|
dodir /etc/log.d/conf/logfiles
|
||||||
|
dodir /etc/log.d/conf/services
|
||||||
|
pushd "${S}"/core/scripts/logwatch >&/dev/null || die
|
||||||
|
|
||||||
|
into /etc/log.d/scripts/services
|
||||||
|
dobin bareos
|
||||||
|
|
||||||
|
into /etc/log.d/scripts/shared
|
||||||
|
dobin applybareosdate
|
||||||
|
|
||||||
|
insinto /etc/log.d/conf/logfiles
|
||||||
|
newins logfile.bareos.conf bareos.conf
|
||||||
|
|
||||||
|
insinto /etc/log.d/conf/services
|
||||||
|
newins services.bareos.conf bareos.conf
|
||||||
|
|
||||||
|
popd >&/dev/null || die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm -vf "${D}"/usr/share/man/man1/bareos-bwxconsole.1*
|
||||||
|
if use clientonly || ! use director; then
|
||||||
|
rm -vf "${D}"/usr/share/man/man8/bareos-dir.8*
|
||||||
|
rm -vf "${D}"/usr/share/man/man8/bareos-dbcheck.8*
|
||||||
|
rm -vf "${D}"/usr/share/man/man1/bsmtp.1*
|
||||||
|
rm -vf "${D}"/usr/share/man/man8/bwild.8*
|
||||||
|
rm -vf "${D}"/usr/share/man/man8/bregex.8*
|
||||||
|
rm -vf "${D}"/usr/share/man/man8/bpluginfo.8*
|
||||||
|
rm -vf "${D}"/usr/libexec/bareos/create_*_database
|
||||||
|
rm -vf "${D}"/usr/libexec/bareos/drop_*_database
|
||||||
|
rm -vf "${D}"/usr/libexec/bareos/make_*_tables
|
||||||
|
rm -vf "${D}"/usr/libexec/bareos/update_*_tables
|
||||||
|
rm -vf "${D}"/usr/libexec/bareos/drop_*_tables
|
||||||
|
rm -vf "${D}"/usr/libexec/bareos/grant_*_privileges
|
||||||
|
rm -vf "${D}"/usr/libexec/bareos/*_catalog_backup
|
||||||
|
fi
|
||||||
|
if use clientonly || ! use storage-daemon; then
|
||||||
|
rm -vf "${D}"/usr/share/man/man8/bareos-sd.8*
|
||||||
|
rm -vf "${D}"/usr/share/man/man8/bcopy.8*
|
||||||
|
rm -vf "${D}"/usr/share/man/man8/bextract.8*
|
||||||
|
rm -vf "${D}"/usr/share/man/man8/bls.8*
|
||||||
|
rm -vf "${D}"/usr/share/man/man8/bscan.8*
|
||||||
|
rm -vf "${D}"/usr/share/man/man8/btape.8*
|
||||||
|
rm -vf "${D}"/usr/libexec/bareos/disk-changer
|
||||||
|
rm -vf "${D}"/usr/libexec/bareos/mtx-changer
|
||||||
|
rm -vf "${D}"/usr/libexec/bareos/dvd-handler
|
||||||
|
rm -vf "${D}"/etc/bareos/mtx-changer.conf
|
||||||
|
fi
|
||||||
|
if ! use scsi-crypto; then
|
||||||
|
rm -vf "${D}"/usr/share/man/man8/bscrypto.8*
|
||||||
|
fi
|
||||||
|
|
||||||
|
# documentation
|
||||||
|
dodoc README.md
|
||||||
|
dodoc core/README.configsubdirectories
|
||||||
|
use glusterfs dodoc core/README.glusterfs
|
||||||
|
use ndmp && dodoc core/README.NDMP
|
||||||
|
use scsi-crypto && dodoc core/README.scsicrypto
|
||||||
|
|
||||||
|
# vim-files
|
||||||
|
if use vim-syntax; then
|
||||||
|
insinto /usr/share/vim/vimfiles/syntax
|
||||||
|
doins core/scripts/bareos.vim
|
||||||
|
insinto /usr/share/vim/vimfiles/ftdetect
|
||||||
|
newins core/scripts/filetype.vim bareos_ft.vim
|
||||||
|
fi
|
||||||
|
|
||||||
|
# setup init scripts
|
||||||
|
myscripts="bareos-fd"
|
||||||
|
if ! use clientonly; then
|
||||||
|
if use director; then
|
||||||
|
myscripts+=" bareos-dir-21"
|
||||||
|
fi
|
||||||
|
if use storage-daemon; then
|
||||||
|
myscripts+=" bareos-sd"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
for script in ${myscripts}; do
|
||||||
|
# copy over init script and config to a temporary location
|
||||||
|
# so we can modify them as needed
|
||||||
|
cp "${FILESDIR}/${script}".confd "${T}/${script}".confd || die "failed to copy ${script}.confd"
|
||||||
|
cp "${FILESDIR}/${script}".initd "${T}/${script}".initd || die "failed to copy ${script}.initd"
|
||||||
|
|
||||||
|
# install init script and config
|
||||||
|
newinitd "${T}/${script}".initd "${script/-21/}"
|
||||||
|
newconfd "${T}/${script}".confd "${script/-21/}"
|
||||||
|
done
|
||||||
|
|
||||||
|
# install systemd unit files
|
||||||
|
if use systemd; then
|
||||||
|
if ! use clientonly; then
|
||||||
|
use director && systemd_dounit "${FILESDIR}"/bareos-dir.service
|
||||||
|
use storage-daemon && systemd_dounit "${FILESDIR}"/bareos-sd.service
|
||||||
|
fi
|
||||||
|
systemd_dounit "${FILESDIR}"/bareos-fd.service
|
||||||
|
fi
|
||||||
|
|
||||||
|
# make sure the working directory exists
|
||||||
|
diropts -m0750
|
||||||
|
keepdir /var/lib/bareos
|
||||||
|
keepdir /var/lib/bareos/storage
|
||||||
|
|
||||||
|
diropts -m0755
|
||||||
|
keepdir /var/log/bareos
|
||||||
|
|
||||||
|
newtmpfiles "${FILESDIR}"/tmpfiles.d-bareos.conf bareos.conf
|
||||||
|
|
||||||
|
# make sure bareos group can execute bareos libexec scripts
|
||||||
|
fowners -R root:bareos /usr/libexec/bareos
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
tmpfiles_process bareos.conf
|
||||||
|
|
||||||
|
if use clientonly; then
|
||||||
|
fowners root:bareos /var/lib/bareos
|
||||||
|
else
|
||||||
|
fowners bareos:bareos /var/lib/bareos
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! use clientonly && use director; then
|
||||||
|
einfo
|
||||||
|
einfo "If this is a new install, you must create the database:"
|
||||||
|
einfo
|
||||||
|
einfo " su postgres -c '/usr/libexec/bareos/create_bareos_database postgresql'"
|
||||||
|
einfo " su postgres -c '/usr/libexec/bareos/make_bareos_tables postgresql'"
|
||||||
|
einfo " su postgres -c '/usr/libexec/bareos/grant_bareos_privileges postgresql'"
|
||||||
|
einfo
|
||||||
|
fi
|
||||||
|
}
|
@ -0,0 +1,12 @@
|
|||||||
|
diff -ur bareos-Release-21.0.0.orig/core/platforms/CMakeLists.txt bareos-Release-21.0.0/core/platforms/CMakeLists.txt
|
||||||
|
--- bareos-Release-21.0.0.orig/core/platforms/CMakeLists.txt 2021-12-21 01:00:49.000000000 -1000
|
||||||
|
+++ bareos-Release-21.0.0/core/platforms/CMakeLists.txt 2022-01-30 15:09:41.949529813 -1000
|
||||||
|
@@ -30,6 +30,8 @@
|
||||||
|
message(STATUS "adding subdirectories debian and univention")
|
||||||
|
add_subdirectory(debian)
|
||||||
|
add_subdirectory(univention)
|
||||||
|
+ elseif(${PLATFORM} STREQUAL gentoo)
|
||||||
|
+ message(STATUS "PLATFORM: " ${PLATFORM})
|
||||||
|
elseif(${BAREOS_PLATFORM} STREQUAL hpux)
|
||||||
|
message(STATUS "BAREOS_PLATFORM: " ${BAREOS_PLATFORM})
|
||||||
|
elseif(${BAREOS_PLATFORM} STREQUAL archlinux)
|
@ -0,0 +1,10 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
# Config file for /etc/init.d/bareos-dir
|
||||||
|
|
||||||
|
# Options for the director daemon.
|
||||||
|
# The director can be run as a non-root user, however
|
||||||
|
# please ensure that this user has proper permissions to
|
||||||
|
# access your backup devices.
|
||||||
|
DIR_OPTIONS="-u bareos -g bareos"
|
@ -0,0 +1,31 @@
|
|||||||
|
#!/sbin/openrc-run
|
||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
need postgresql
|
||||||
|
use dns bareos-fd bareos-sd
|
||||||
|
}
|
||||||
|
|
||||||
|
start() {
|
||||||
|
ebegin "Starting bareos director"
|
||||||
|
# g+w until #631598 is resolved
|
||||||
|
checkpath -d -m 0770 -o root:bareos /run/bareos
|
||||||
|
start-stop-daemon --start --quiet --exec /usr/sbin/bareos-dir \
|
||||||
|
-- ${DIR_OPTIONS}
|
||||||
|
# harden pid file until #631598 is resolved
|
||||||
|
ewaitfile 10 /run/bareos/bareos-dir.9101.pid
|
||||||
|
chown root:bareos /run/bareos/bareos-dir.9101.pid
|
||||||
|
eend $?
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
ebegin "Stopping bareos director"
|
||||||
|
# check pid file until #631598 is resolved
|
||||||
|
if [[ $(stat -c %U /run/bareos/bareos-dir.9101.pid) != "root" ]]; then
|
||||||
|
eerror "SECURITY ALERT: pid file is not root owned anymore?! (see #631598)"
|
||||||
|
else
|
||||||
|
start-stop-daemon --stop --quiet --pidfile /run/bareos/bareos-dir.9101.pid
|
||||||
|
fi
|
||||||
|
eend $?
|
||||||
|
}
|
@ -0,0 +1,32 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
#
|
||||||
|
# Bareos Director Daemon
|
||||||
|
#
|
||||||
|
[Unit]
|
||||||
|
Description=Bareos Director Daemon
|
||||||
|
Documentation=man:bareos-dir(8)
|
||||||
|
Requires=nss-lookup.target network.target remote-fs.target time-sync.target
|
||||||
|
After=nss-lookup.target network.target remote-fs.target time-sync.target postgresql.service
|
||||||
|
ConditionPathIsDirectory=/var/lib/bareos
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
# see bug #631598
|
||||||
|
#Type=forking
|
||||||
|
Type=simple
|
||||||
|
User=bareos
|
||||||
|
Group=bareos
|
||||||
|
WorkingDirectory=/var/lib/bareos
|
||||||
|
#PIDFile=/run/bareos/bareos-dir.9101.pid
|
||||||
|
StandardError=journal
|
||||||
|
ExecStartPre=/usr/sbin/bareos-dir -t -f
|
||||||
|
#ExecStart=/usr/sbin/bareos-dir
|
||||||
|
ExecStart=/usr/sbin/bareos-dir -f
|
||||||
|
SuccessExitStatus=0 1 15
|
||||||
|
ExecReload=/usr/sbin/bareos-dir -t -f
|
||||||
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
|
#Restart=on-failure
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
Alias=bareos-director.service
|
||||||
|
WantedBy=multi-user.target
|
Binary file not shown.
@ -1,3 +1,5 @@
|
|||||||
DIST ibus-anthy-1.5.13.tar.gz 265252 BLAKE2B d35299dba3260b85f80f259e0a40ea1ec061ed8082b6e5c872eab6398b6242342b2ee4da0c3b191aa428ae2d8dc652b0e414fd0c9f7b93ca8dcd6303c0586b4d SHA512 058feb49b2fe50ae3ca959f4754b8070f3ebc1e6727fef4bca791aa45a23c95018000e2a8bca496d6592b052298a6fb2869a07c2cc56cc473c81cc437efa175b
|
DIST ibus-anthy-1.5.13.tar.gz 265252 BLAKE2B d35299dba3260b85f80f259e0a40ea1ec061ed8082b6e5c872eab6398b6242342b2ee4da0c3b191aa428ae2d8dc652b0e414fd0c9f7b93ca8dcd6303c0586b4d SHA512 058feb49b2fe50ae3ca959f4754b8070f3ebc1e6727fef4bca791aa45a23c95018000e2a8bca496d6592b052298a6fb2869a07c2cc56cc473c81cc437efa175b
|
||||||
|
DIST ibus-anthy-1.5.14.tar.gz 267418 BLAKE2B a4da45588d8736f10ccf26af52179da85bd3a17a8f1fbdba622058d1eaed933b0102fe12357613574e377df323145487838c3f74c052c813462b435905d5c941 SHA512 4d06d4e177df62d22c61bf6ebfda04ddbf545ea1947d0c315e3dfe5e48d9ddc57e5fcc89919ae3b9f7430e6124a5dfb1295f4ca7362fbc35714d627f80fae6d8
|
||||||
EBUILD ibus-anthy-1.5.13.ebuild 1310 BLAKE2B 448f52507f33bbcea960398d1ff9e2b177c54bd3523ea63cd3ad034758cbfbc4708b668bd368fc0fb9cd73027f4d290a765f97d4f2cbf03a0fbc403dde28cb7b SHA512 0cbd544a986bce8d41829ec6b3d391ef1bd09e9a8ae7ea382aca72410d778e28e11ffae3c725f94833aaff6f2c132549d288a46a318307ac1e5b24096764bbb2
|
EBUILD ibus-anthy-1.5.13.ebuild 1310 BLAKE2B 448f52507f33bbcea960398d1ff9e2b177c54bd3523ea63cd3ad034758cbfbc4708b668bd368fc0fb9cd73027f4d290a765f97d4f2cbf03a0fbc403dde28cb7b SHA512 0cbd544a986bce8d41829ec6b3d391ef1bd09e9a8ae7ea382aca72410d778e28e11ffae3c725f94833aaff6f2c132549d288a46a318307ac1e5b24096764bbb2
|
||||||
|
EBUILD ibus-anthy-1.5.14.ebuild 1312 BLAKE2B 491e76a279bc1a25acc93ff98db1b6b742ad09d79c3b6f25d84ae5f9cd243f986ce6fd4d719cea1b37e8047dc03f807c2f405050fbea349d0f776350759aceaf SHA512 ae3879999fbbb0696fa1e9a35456c1dab3da437b24b75bf2831a8c9fc0f874a5073071bd4d1a3e3c12c481d4f0bad8b962b9c5711f1a2e72f3b02ef5e09db729
|
||||||
MISC metadata.xml 325 BLAKE2B ae0af274a4321f66c02696f5f6440ce55a1a8406efe0f5c17c76606ab536b157f528eb93508d1ac95a893a54ada06c538d627754f8795271e3bb99eb4bbfdcc1 SHA512 64b47eae1d72f07324b98eb1dbc9a2a4b7cc0c74172e0df55e9d5abdaf10ebe1d90f4217b973979e3b53c5a21084fcad6785203a7b4280dc0706d4e6d1bd74f6
|
MISC metadata.xml 325 BLAKE2B ae0af274a4321f66c02696f5f6440ce55a1a8406efe0f5c17c76606ab536b157f528eb93508d1ac95a893a54ada06c538d627754f8795271e3bb99eb4bbfdcc1 SHA512 64b47eae1d72f07324b98eb1dbc9a2a4b7cc0c74172e0df55e9d5abdaf10ebe1d90f4217b973979e3b53c5a21084fcad6785203a7b4280dc0706d4e6d1bd74f6
|
||||||
|
@ -0,0 +1,72 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="8"
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
|
||||||
|
inherit autotools gnome2-utils python-single-r1 xdg
|
||||||
|
|
||||||
|
DESCRIPTION="Japanese Anthy engine for IBus"
|
||||||
|
HOMEPAGE="https://github.com/ibus/ibus/wiki"
|
||||||
|
SRC_URI="https://github.com/ibus/${PN}/archive/${PV}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~x86"
|
||||||
|
IUSE="nls"
|
||||||
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||||
|
|
||||||
|
RDEPEND="${PYTHON_DEPS}
|
||||||
|
app-i18n/anthy
|
||||||
|
$(python_gen_cond_dep '
|
||||||
|
app-i18n/ibus[python(+),${PYTHON_USEDEP}]
|
||||||
|
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||||
|
')
|
||||||
|
nls? ( virtual/libintl )"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="sys-devel/gettext
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
eautoreconf
|
||||||
|
gnome2_environment_reset
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf \
|
||||||
|
$(use_enable nls) \
|
||||||
|
--enable-private-png \
|
||||||
|
--with-layout=default \
|
||||||
|
--with-python=${EPYTHON}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
:
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
find "${ED}" -name '*.la' -delete || die
|
||||||
|
|
||||||
|
python_optimize
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
xdg_pkg_preinst
|
||||||
|
gnome2_schemas_savelist
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
xdg_pkg_postinst
|
||||||
|
gnome2_schemas_update
|
||||||
|
|
||||||
|
if ! has_version app-dicts/kasumi; then
|
||||||
|
elog "app-dicts/kasumi is not required but probably useful for you."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_pkg_postrm
|
||||||
|
gnome2_schemas_update
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,3 @@
|
|||||||
|
DIST irrlicht-mt-1.9.0.4.tar.gz 4158897 BLAKE2B e03c3ca28ae93e5fa565069b67ae7f60e7e023a3b5434fbd8c080be719e40a67f115e4459f082b7a27181ff81cc591e527120747aaf91efaafe93d997f5dbc9e SHA512 6f6fef27d534a0046a04cb504992586f5f20a757f2c3a35ea6e1fb31d2781e3d81ee0172b03e2913ddd894fb937d6830005613eaed77a29bb9e91aa6d248fab8
|
||||||
|
EBUILD irrlicht-mt-1.9.0.4.ebuild 625 BLAKE2B e04335daaa266a2a33de0dc090685436c86d28e180a2337c74473caa23f263d9ab2b0b7c773673ead87ee2bbb70cd57f54cf1e473a882b4865ae3aaa9826253d SHA512 783f438bcd64602056e60817e84b0dc215845150bf4451a2014da99ffe39aa40eacf40ecb60f8af4b0deec86f830f1e067b0b87f18f99214c890517c72236717
|
||||||
|
MISC metadata.xml 328 BLAKE2B 65f1524f204dce6e817727e3870a3154eb1333d68d92241b17ea9a9089081d56947e7cd0dae6e4addd55594953cf27661e02774814f814465363df184842d37d SHA512 dddf11f78c1fcc61b3b98246ed7c73ae7c0e3f1765b60fbbc8513d706edec666c405479f45a2259c513f3bf298bd1d0810f756110aa7757b393045c4c18e17d8
|
@ -0,0 +1,29 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit cmake
|
||||||
|
|
||||||
|
MY_PN="${PN%-mt}"
|
||||||
|
MY_PV="$(ver_rs 3 'mt')"
|
||||||
|
MY_P="${MY_PN}-${MY_PV}"
|
||||||
|
|
||||||
|
DESCRIPTION="Minetest's fork of dev-games/irrlicht"
|
||||||
|
HOMEPAGE="https://github.com/minetest/irrlicht"
|
||||||
|
SRC_URI="https://github.com/minetest/${MY_PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="ZLIB"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~riscv"
|
||||||
|
|
||||||
|
RDEPEND="media-libs/libpng:0=
|
||||||
|
sys-libs/zlib
|
||||||
|
virtual/jpeg:0
|
||||||
|
virtual/opengl
|
||||||
|
x11-libs/libX11
|
||||||
|
x11-libs/libXxf86vm"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
x11-base/xorg-proto"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>marecki@gentoo.org</email>
|
||||||
|
<name>Marek Szuba</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">minetest/irrlicht</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
Binary file not shown.
@ -1,5 +1,3 @@
|
|||||||
DIST commons-jxpath-1.3-src.tar.gz 285339 BLAKE2B c0127ff90c51b7ba69c12072689cc7ca5b969fa29e4793839bef3200b0dc3fbb529c89e21877daa4def4386f94298e43054828d4b4b05be3671e38d9f728d3d0 SHA512 a0ad0b90c9aa4c732c47c8f38f036990438f526295b782fbdc00fd67e4c0e92643c7850429eb5263f9d322aff7cb7000b8ff2bffcdcfa88fa3ba5354dce7e152
|
DIST commons-jxpath-1.3-src.tar.gz 285339 BLAKE2B c0127ff90c51b7ba69c12072689cc7ca5b969fa29e4793839bef3200b0dc3fbb529c89e21877daa4def4386f94298e43054828d4b4b05be3671e38d9f728d3d0 SHA512 a0ad0b90c9aa4c732c47c8f38f036990438f526295b782fbdc00fd67e4c0e92643c7850429eb5263f9d322aff7cb7000b8ff2bffcdcfa88fa3ba5354dce7e152
|
||||||
DIST commons-jxpath-1.3.tar.gz 285339 BLAKE2B c0127ff90c51b7ba69c12072689cc7ca5b969fa29e4793839bef3200b0dc3fbb529c89e21877daa4def4386f94298e43054828d4b4b05be3671e38d9f728d3d0 SHA512 a0ad0b90c9aa4c732c47c8f38f036990438f526295b782fbdc00fd67e4c0e92643c7850429eb5263f9d322aff7cb7000b8ff2bffcdcfa88fa3ba5354dce7e152
|
EBUILD commons-jxpath-1.3-r5.ebuild 1788 BLAKE2B 2d23caef7b4c7b06c2bf159d4e9d8816e4593d4e303f42a0693d6faa8877d8647e6dc5728dffac01a485de737f9f69d65a2ee0e497c69b575baac899991a79ef SHA512 5cc043334288a3a42f2644b1591f61fc3ce0b8dbdb30294944b451de6e7406527f4f45a700212abdf46d8fca20d8a426e6c68d5bb9119e8a7d3631f1cc201672
|
||||||
EBUILD commons-jxpath-1.3-r3.ebuild 1418 BLAKE2B c79ac6ce0e52a8e9d7742ff1dfb270a500ad79329c8cbbf64d7b6c8c4be773f8b64dcd36520fa1241c92e4151c8b9aa73bbe2853fa5260e73307e3be08824780 SHA512 ce9597f2e492e2d7d346d8ef74f50395c5a40bf0b143a06544f49c2aa3f40832aa5425925b864b425584df7070401ec6777ca05bce4409c94346d93c0960ce37
|
|
||||||
EBUILD commons-jxpath-1.3-r5.ebuild 1789 BLAKE2B 09fb1541a9a6ef07effe129b6e02c416ffed48eb36fa6bb37456c7165f94ff75a1e2cba5da12aee532962f48b79bbd2f1657a211d6354032f11ba0e0cb0197a3 SHA512 f15b3c57a20cfd5ea8ece29de3edd80bbbb9d6f103fc032b0ce78157e520914315a3d683fd57d41e4bb8acf1e311df06e90f4f46441d3e5cdec2f24bd1229d61
|
|
||||||
MISC metadata.xml 463 BLAKE2B 1b7774556b00869ef427316f8ce3465dfaa4a666ac45e35099054c09c8956743ead7e1f3483169ac15c9bc208e9d72b0abee49d7103db93f8ae8462f3ae2408a SHA512 a703759ea4165486b35c1ce02dfc35ad5cf5899af03c1bc0580288ae51b931c0fd12da6a741a42d365bf452ed1d56f4296fd6afcebc6c490ce7e48f9234087d7
|
MISC metadata.xml 463 BLAKE2B 1b7774556b00869ef427316f8ce3465dfaa4a666ac45e35099054c09c8956743ead7e1f3483169ac15c9bc208e9d72b0abee49d7103db93f8ae8462f3ae2408a SHA512 a703759ea4165486b35c1ce02dfc35ad5cf5899af03c1bc0580288ae51b931c0fd12da6a741a42d365bf452ed1d56f4296fd6afcebc6c490ce7e48f9234087d7
|
||||||
|
@ -1,63 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
JAVA_PKG_IUSE="doc source test"
|
|
||||||
|
|
||||||
inherit java-pkg-2 java-ant-2
|
|
||||||
|
|
||||||
DESCRIPTION="Applies XPath expressions to graphs of objects of all kinds"
|
|
||||||
HOMEPAGE="http://commons.apache.org/jxpath/"
|
|
||||||
SRC_URI="mirror://apache/commons/jxpath/source/${P}-src.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ppc64 x86"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${P}-src"
|
|
||||||
|
|
||||||
CDEPEND="
|
|
||||||
dev-java/jdom:0
|
|
||||||
java-virtuals/servlet-api:3.0
|
|
||||||
dev-java/commons-beanutils:1.7"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
${CDEPEND}
|
|
||||||
>=virtual/jre-1.6"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
${CDEPEND}
|
|
||||||
test? (
|
|
||||||
dev-java/ant-junit:0
|
|
||||||
dev-java/commons-logging:0
|
|
||||||
dev-java/commons-collections:0
|
|
||||||
)
|
|
||||||
>=virtual/jdk-1.6"
|
|
||||||
|
|
||||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
|
||||||
EANT_GENTOO_CLASSPATH="jdom,servlet-api-3.0,commons-beanutils-1.7"
|
|
||||||
|
|
||||||
EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},commons-logging,commons-collections,ant-junit"
|
|
||||||
ANT_TASKS="ant-junit"
|
|
||||||
EANT_TEST_TARGET="test"
|
|
||||||
|
|
||||||
# This one needs mockrunner. See #259027.
|
|
||||||
JAVA_RM_FILES=(
|
|
||||||
src/test/org/apache/commons/jxpath/servlet/JXPathServletContextTest.java
|
|
||||||
)
|
|
||||||
|
|
||||||
java_prepare() {
|
|
||||||
# Don't automatically run tests.
|
|
||||||
sed 's/depends="compile,test"/depends="compile"/' -i build.xml || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
java-pkg-2_src_test
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
java-pkg_dojar target/${PN}.jar
|
|
||||||
use doc && java-pkg_dojavadoc dist/docs/api
|
|
||||||
use source && java-pkg_dosrc src/java/*
|
|
||||||
}
|
|
@ -1,3 +1,5 @@
|
|||||||
DIST JAVAMAIL-1_6_2.tar.gz 1107140 BLAKE2B c0f84bad014af1146bc2bb7f4f58924edf8f6762c222f979d1fec787e8dc93861691cd95c23eb663924597277607d2ce5058c232ad1e8626ed2d0f1e17c34a98 SHA512 6c07490fabbcf5969a2d8946bd9f38187cd33b864985e8183f15d9e1ba1508e445f2050633d9054f9ad546fede7790e64d31956bf23eb2ff8dae45129bd43534
|
DIST JAVAMAIL-1_6_2.tar.gz 1107140 BLAKE2B c0f84bad014af1146bc2bb7f4f58924edf8f6762c222f979d1fec787e8dc93861691cd95c23eb663924597277607d2ce5058c232ad1e8626ed2d0f1e17c34a98 SHA512 6c07490fabbcf5969a2d8946bd9f38187cd33b864985e8183f15d9e1ba1508e445f2050633d9054f9ad546fede7790e64d31956bf23eb2ff8dae45129bd43534
|
||||||
|
DIST javax-mail-1.6.7.tar.gz 1854297 BLAKE2B 70dac40cdf67c413db3370f9cdf5b9786fcebce4ba12725758bf6120a2b6874e079a5beef08ee1190e30bfe2f14ad21e73ef1710c982e3f658a2f2f11e524f2e SHA512 9e8754839efb43d14ade6189428c4b86f5fc180e2e18b4e121a9463aaa52c34a431dbf05a6264ef8221faf0b09cc08f914ff758cbb3931df97cea1a897c54c08
|
||||||
EBUILD javax-mail-1.6.2-r1.ebuild 2066 BLAKE2B a1bee101bc627a3a90e48368eb20662bbedda45d573e045869bb1bd4a9f336dd047c2e5d42c830852776335e75422af6b8048fb68aeea22d131c678a170a1de4 SHA512 2b6265523669dd4d7c5eaf68e67ea2b34a141bc07a44f53f229144ab1d19a9a55c2242f834285594ecf8ce8140797d68238668eb9e12309752177c161280a0ec
|
EBUILD javax-mail-1.6.2-r1.ebuild 2066 BLAKE2B a1bee101bc627a3a90e48368eb20662bbedda45d573e045869bb1bd4a9f336dd047c2e5d42c830852776335e75422af6b8048fb68aeea22d131c678a170a1de4 SHA512 2b6265523669dd4d7c5eaf68e67ea2b34a141bc07a44f53f229144ab1d19a9a55c2242f834285594ecf8ce8140797d68238668eb9e12309752177c161280a0ec
|
||||||
|
EBUILD javax-mail-1.6.7.ebuild 2055 BLAKE2B 279e78b4dddb2bb03502ada8c94d838a42ab67ce5d870a9bee08966a425b78bf2804f3f4c0d46d3f6af04bab9140486e668f7e97b9b3c4b92bcffefc91d30e37 SHA512 43a435d6c4866bc5fcdb7db97995947b2f0f254be98c5ea83c41f1a71e4ef448426fe263488cd30e41a7a01419282d2718b301e72abc6656076f57d30d2be32f
|
||||||
MISC metadata.xml 217 BLAKE2B cb41a7bd7e5c55319465d67551eae75371cc72d58629c61f70a7f54c388645d5ab1427c66dfdd5954e36ca40f0d3209f871d476cacd61516dd57e3297aaa601f SHA512 4df8395dcf07c52adadee71ad7dfa9f611ade8485cc9869397d0037272ae9add9b40d90669da8b80e578b4ee14c512da01ba096abe39a5859ac71c5316e425b6
|
MISC metadata.xml 217 BLAKE2B cb41a7bd7e5c55319465d67551eae75371cc72d58629c61f70a7f54c388645d5ab1427c66dfdd5954e36ca40f0d3209f871d476cacd61516dd57e3297aaa601f SHA512 4df8395dcf07c52adadee71ad7dfa9f611ade8485cc9869397d0037272ae9add9b40d90669da8b80e578b4ee14c512da01ba096abe39a5859ac71c5316e425b6
|
||||||
|
@ -0,0 +1,79 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
# Skeleton command:
|
||||||
|
# java-ebuilder --generate-ebuild --workdir . --pom mail/pom.xml --download-uri https://github.com/eclipse-ee4j/mail/archive/refs/tags/1.6.7.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild javax-mail-1.6.7.ebuild
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
JAVA_PKG_IUSE="doc source test"
|
||||||
|
MAVEN_ID="com.sun.mail:jakarta.mail:1.6.7"
|
||||||
|
JAVA_TESTING_FRAMEWORKS="junit-4"
|
||||||
|
|
||||||
|
inherit java-pkg-2 java-pkg-simple
|
||||||
|
|
||||||
|
DESCRIPTION="Jakarta Mail API"
|
||||||
|
HOMEPAGE="https://eclipse-ee4j.github.io/mail/"
|
||||||
|
SRC_URI="https://github.com/eclipse-ee4j/mail/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="EPL-1.0 EPL-2.0 GPL-2-with-classpath-exception"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||||
|
|
||||||
|
# Common dependencies
|
||||||
|
# POM: mail/pom.xml
|
||||||
|
# com.sun.activation:jakarta.activation:1.2.1 -> >=dev-java/jakarta-activation-1.2.2:1
|
||||||
|
|
||||||
|
CDEPEND="
|
||||||
|
>=dev-java/jakarta-activation-1.2.2:1
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
>=virtual/jdk-1.8:*
|
||||||
|
${CDEPEND}
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=virtual/jre-1.8:*
|
||||||
|
${CDEPEND}"
|
||||||
|
|
||||||
|
DOCS=( ../{LICENSE,NOTICE,README}.md )
|
||||||
|
|
||||||
|
S="${WORKDIR}/mail-${PV}/mail"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
mv src/main/{resources,java}/javax/mail/Version.java || die
|
||||||
|
}
|
||||||
|
|
||||||
|
JAVA_ENCODING="iso-8859-1"
|
||||||
|
|
||||||
|
JAVA_GENTOO_CLASSPATH="jakarta-activation-1"
|
||||||
|
JAVA_SRC_DIR="src/main/java"
|
||||||
|
JAVA_RESOURCE_DIRS="src/main/resources"
|
||||||
|
|
||||||
|
JAVA_TEST_GENTOO_CLASSPATH="junit-4"
|
||||||
|
JAVA_TEST_SRC_DIR="src/test/java"
|
||||||
|
JAVA_TEST_RESOURCE_DIRS="src/test/resources"
|
||||||
|
JAVA_TEST_EXTRA_ARGS=( -ea )
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
pushd src/test/java || die
|
||||||
|
# Selection according to 137,138 pom.xml
|
||||||
|
# 1) com.sun.mail.util.logging.MailHandlerTest
|
||||||
|
# java.io.IOException: Permission denied
|
||||||
|
local JAVA_TEST_RUN_ONLY=$(find * \
|
||||||
|
-name "*TestSuite.java" -o -name "*Test.java" \
|
||||||
|
! -name "MailHandlerTest.java" \
|
||||||
|
)
|
||||||
|
JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}"
|
||||||
|
JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}"
|
||||||
|
popd
|
||||||
|
|
||||||
|
java-pkg-simple_src_test
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default # https://bugs.gentoo.org/789582
|
||||||
|
java-pkg-simple_src_install
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,40 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
# We are opam
|
||||||
|
OPAM_INSTALLER_DEP=" "
|
||||||
|
OPAM_SKIP_VALIDATION=yes
|
||||||
|
inherit dune
|
||||||
|
|
||||||
|
DESCRIPTION="Core installer for opam packages"
|
||||||
|
HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam"
|
||||||
|
SRC_URI="https://github.com/ocaml/opam/releases/download/${PV}/opam-full-${PV}.tar.gz"
|
||||||
|
SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/dev-ml/opam/opam-2.1.0-dose3-6.patch.xz"
|
||||||
|
S="${WORKDIR}/opam-full-${PV/_/-}"
|
||||||
|
OPAM_INSTALLER="${S}/_build/install/default/bin/opam-installer"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
SLOT="0/${PV}"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
||||||
|
IUSE="+ocamlopt"
|
||||||
|
|
||||||
|
PATCHES=( "${WORKDIR}"/opam-2.1.0-dose3-6.patch )
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-lang/ocaml-4.02.3
|
||||||
|
dev-ml/cmdliner:=
|
||||||
|
~dev-ml/opam-format-${PV}
|
||||||
|
>=dev-ml/dose3-6
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-ml/findlib"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf \
|
||||||
|
--prefix="${EPREFIX}/usr" \
|
||||||
|
--with-mccs \
|
||||||
|
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||||
|
--mandir="${EPREFIX}/usr/share/man"
|
||||||
|
}
|
@ -1,7 +1,9 @@
|
|||||||
DIST parmap-1.2.1.tar.gz 47069 BLAKE2B 85d67aacff70c9d8b70c73e4673486804a0d0a4cc52391cd93bf12ed19206c11cb77066e64757f5a22352580789383e04b7d984aade5e60872be12728a173fb6 SHA512 b5ed86b464f68db625e6442606cb74c7e2b10fd066a20732e60042d32b937c20f83ff4ebf17f47b79ee6725e0de9ca42bbb050c06b47d90a27052b3b0fb07afb
|
DIST parmap-1.2.1.tar.gz 47069 BLAKE2B 85d67aacff70c9d8b70c73e4673486804a0d0a4cc52391cd93bf12ed19206c11cb77066e64757f5a22352580789383e04b7d984aade5e60872be12728a173fb6 SHA512 b5ed86b464f68db625e6442606cb74c7e2b10fd066a20732e60042d32b937c20f83ff4ebf17f47b79ee6725e0de9ca42bbb050c06b47d90a27052b3b0fb07afb
|
||||||
DIST parmap-1.2.3.tar.gz 47481 BLAKE2B 3c65448d244e6079444912ffaaea35982d44123f6259c2d15b7f1618afd10c79972f00f7e2744da270b298f4bca090c34c96e6e36638f2aaabba4ed774af24b5 SHA512 f050492ae1c5fc7c9d0baddaed44ea9920da7d2a5ed6455e93fd427648037a5e00051b6eaaf982174d88ed4de9b0123a1c4eff203f1ba6bef3384b5c7e2952c4
|
DIST parmap-1.2.3.tar.gz 47481 BLAKE2B 3c65448d244e6079444912ffaaea35982d44123f6259c2d15b7f1618afd10c79972f00f7e2744da270b298f4bca090c34c96e6e36638f2aaabba4ed774af24b5 SHA512 f050492ae1c5fc7c9d0baddaed44ea9920da7d2a5ed6455e93fd427648037a5e00051b6eaaf982174d88ed4de9b0123a1c4eff203f1ba6bef3384b5c7e2952c4
|
||||||
|
DIST parmap-1.2.4.tar.gz 47584 BLAKE2B a4b03f4e3aaafd2c8e75cda045741b21b9d72998a6a4ca406147cd6fc88eac1ffbcc996f862d4ea090551a6e7219e59f3df0515b48b4155305b49f8ea9b3b123 SHA512 7dfe3bb2ace3547c426bca4974bad0ccfaa1fddbe0ba6f574a0dd8c4c30e8dcd1b90d0938312fcef9468ea87358db096bf870f64467ba822b13465773054a8ed
|
||||||
DIST parmap-1.2.tar.gz 47083 BLAKE2B e790087273fcf749b000c7ad3a2f5b2cafea91c529e3a4687b1d882d203cb43e4069a42675319c27878d8bca3fa0e19af96ab1dfda8df3967dc48d28ec542b91 SHA512 69431e146e8aa01823ae1583c6a5e7753436cecee37c3da3064a836c20cf8c6b9033248412203406d03bd4efdd957b2e118ea5c5866e3bd1f668d8c4fd48777f
|
DIST parmap-1.2.tar.gz 47083 BLAKE2B e790087273fcf749b000c7ad3a2f5b2cafea91c529e3a4687b1d882d203cb43e4069a42675319c27878d8bca3fa0e19af96ab1dfda8df3967dc48d28ec542b91 SHA512 69431e146e8aa01823ae1583c6a5e7753436cecee37c3da3064a836c20cf8c6b9033248412203406d03bd4efdd957b2e118ea5c5866e3bd1f668d8c4fd48777f
|
||||||
EBUILD parmap-1.2.1.ebuild 608 BLAKE2B 92d88cdfa1a4b8d99d84592c40953d3188669e6b5720d4bb18b5fcf27e35477244085b841968cfdb612668c7447e2e77791a83e877339f8567080738899de8a6 SHA512 ebabf3baff2fa3ebc2776e280bfb6fbead79d5f0f4f4f476fe2de10d38d7e64af6896d315e2eb77488352441a3fc0d87d4267a3cdadbfb38a8047d1899845712
|
EBUILD parmap-1.2.1.ebuild 608 BLAKE2B 92d88cdfa1a4b8d99d84592c40953d3188669e6b5720d4bb18b5fcf27e35477244085b841968cfdb612668c7447e2e77791a83e877339f8567080738899de8a6 SHA512 ebabf3baff2fa3ebc2776e280bfb6fbead79d5f0f4f4f476fe2de10d38d7e64af6896d315e2eb77488352441a3fc0d87d4267a3cdadbfb38a8047d1899845712
|
||||||
EBUILD parmap-1.2.3.ebuild 602 BLAKE2B f818b95d8edfc4e83b56569ab59392fc0a142b224fa7df50b6b08e0fa1ee7df8633c36c563923b3000a2b38bc82d1976731ceca541d72ce9c24fa4e3cab109aa SHA512 4efeda43e48ddad028e583f8ebe3df12bcdf96e802de2555162569178298be87b5ce815537cefdc42c55c92eaa60f962d5ffc423f08b9087f68cdfa8c21e0f11
|
EBUILD parmap-1.2.3.ebuild 602 BLAKE2B f818b95d8edfc4e83b56569ab59392fc0a142b224fa7df50b6b08e0fa1ee7df8633c36c563923b3000a2b38bc82d1976731ceca541d72ce9c24fa4e3cab109aa SHA512 4efeda43e48ddad028e583f8ebe3df12bcdf96e802de2555162569178298be87b5ce815537cefdc42c55c92eaa60f962d5ffc423f08b9087f68cdfa8c21e0f11
|
||||||
|
EBUILD parmap-1.2.4.ebuild 608 BLAKE2B 02706f5586f201675462f9d0a751ac1e932ddd5214c0f791f92588a1c76fab830956245ccdf23f0b209ed7b0830aed7cee9e8ef065fed6a07e7bd48af32bba79 SHA512 752ad0e32546db9257824d3731261dd0b0eea72380b87a1cfc8e8a932deb6d44335888ad655160c2a4336edeb54fd4f1bc4b3e5fc0b0676bab87a93da2d6c265
|
||||||
EBUILD parmap-1.2.ebuild 602 BLAKE2B f818b95d8edfc4e83b56569ab59392fc0a142b224fa7df50b6b08e0fa1ee7df8633c36c563923b3000a2b38bc82d1976731ceca541d72ce9c24fa4e3cab109aa SHA512 4efeda43e48ddad028e583f8ebe3df12bcdf96e802de2555162569178298be87b5ce815537cefdc42c55c92eaa60f962d5ffc423f08b9087f68cdfa8c21e0f11
|
EBUILD parmap-1.2.ebuild 602 BLAKE2B f818b95d8edfc4e83b56569ab59392fc0a142b224fa7df50b6b08e0fa1ee7df8633c36c563923b3000a2b38bc82d1976731ceca541d72ce9c24fa4e3cab109aa SHA512 4efeda43e48ddad028e583f8ebe3df12bcdf96e802de2555162569178298be87b5ce815537cefdc42c55c92eaa60f962d5ffc423f08b9087f68cdfa8c21e0f11
|
||||||
MISC metadata.xml 323 BLAKE2B 6e7bcddc8f305eb0ad28f81bf09278c703c7dbfdc7c9825886dae7fa1d8489460a816286f0849cfbc4a1b641cfbc43f6b14a74b0d669593324050f5aefe01c80 SHA512 42cb14a0c6f2439fe053d45546efa9a8a66b2e116aabf02c64f7bb8c28316e302cd86b586cd2d6717f37228a0b04598e99d60feb45d16d301ce8a39da1f02d0a
|
MISC metadata.xml 323 BLAKE2B 6e7bcddc8f305eb0ad28f81bf09278c703c7dbfdc7c9825886dae7fa1d8489460a816286f0849cfbc4a1b641cfbc43f6b14a74b0d669593324050f5aefe01c80 SHA512 42cb14a0c6f2439fe053d45546efa9a8a66b2e116aabf02c64f7bb8c28316e302cd86b586cd2d6717f37228a0b04598e99d60feb45d16d301ce8a39da1f02d0a
|
||||||
|
@ -0,0 +1,21 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit dune
|
||||||
|
|
||||||
|
MY_PV="${PV/_/-}"
|
||||||
|
DESCRIPTION="Library to exploit multicore architectures for OCaml programs"
|
||||||
|
HOMEPAGE="https://www.dicosmo.org/code/parmap/"
|
||||||
|
SRC_URI="https://github.com/rdicosmo/parmap/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${PN}-${MY_PV/+/-}"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2-with-linking-exception"
|
||||||
|
SLOT="0/${PV}"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
||||||
|
IUSE="+ocamlopt"
|
||||||
|
|
||||||
|
BDEPEND="dev-ml/dune-configurator"
|
||||||
|
RDEPEND=">=dev-lang/ocaml-4.03:=[ocamlopt?]"
|
||||||
|
DEPEND="${RDEPEND}"
|
@ -0,0 +1,48 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit dune
|
||||||
|
|
||||||
|
DESCRIPTION="An OCaml lexer generator for Unicode"
|
||||||
|
HOMEPAGE="https://github.com/ocaml-community/sedlex"
|
||||||
|
SRC_URI="https://github.com/ocaml-community/${PN}/archive/v${PV}.tar.gz
|
||||||
|
-> ${P}.tar.gz"
|
||||||
|
|
||||||
|
FILES=( DerivedCoreProperties extracted/DerivedGeneralCategory PropList )
|
||||||
|
for file in ${FILES[@]} ; do
|
||||||
|
SRC_URI+=" https://www.unicode.org/Public/12.1.0/ucd/${file}.txt
|
||||||
|
-> ${P}-${file##*/}.txt"
|
||||||
|
done
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0/${PV}"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="+ocamlopt"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
dev-ml/gen:=
|
||||||
|
dev-ml/ppxlib:=
|
||||||
|
dev-ml/uchar:=
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
unpack "${P}.tar.gz"
|
||||||
|
|
||||||
|
local file
|
||||||
|
for file in ${FILES[@]} ; do
|
||||||
|
ebegin "Copying ${file}"
|
||||||
|
cp "${DISTDIR}/${P}-${file##*/}.txt" \
|
||||||
|
"${S}/src/generator/data/${file##*/}.txt"
|
||||||
|
eend $? || die
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# Remove dune file with rules to download additional txt files
|
||||||
|
rm "${S}/src/generator/data/dune" || die
|
||||||
|
}
|
@ -1,3 +1,5 @@
|
|||||||
DIST spawn-0.13.0.tar.gz 13048 BLAKE2B f64815c99b3ee7a0e4a18c33012df658e57d7973101ced83aa509c2dfa6455b59b110cc61477da0750305fb8b81ed4a1436a6a7418313185644ea531745a80da SHA512 897ffec4a4c15c819e4429f6b71427005d6b40df6039e6c7f0b1ca4b4e35b24304dc56e27ce88bd81f5b61f936444f5d6e80ea14483991067aa6ee072f4a90dc
|
DIST spawn-0.13.0.tar.gz 13048 BLAKE2B f64815c99b3ee7a0e4a18c33012df658e57d7973101ced83aa509c2dfa6455b59b110cc61477da0750305fb8b81ed4a1436a6a7418313185644ea531745a80da SHA512 897ffec4a4c15c819e4429f6b71427005d6b40df6039e6c7f0b1ca4b4e35b24304dc56e27ce88bd81f5b61f936444f5d6e80ea14483991067aa6ee072f4a90dc
|
||||||
|
DIST spawn-0.15.0.tar.gz 15808 BLAKE2B 72c29c012c3aa700b345e6c5b5a5b8bed4576c721cd9fa435c652e0605cc88bb545247e5a8284b7603e22ca5ab27d36042c6d8020742fc5e9e7b762167a9f864 SHA512 3a775b57a73efee6adbc30b32fa779f27d11c7008a46f90fdb9da6288533e2d83fc49dbcd770c087f2e4560c5586ff72a9a2985d8929955773cc10d83f126013
|
||||||
EBUILD spawn-0.13.0.ebuild 453 BLAKE2B fd5176e78cbe1bfe8c8f6206c529ad971ed22b165176221cdd2c841738ca1070d3b83e8c58cdc89adf103c0a02ea063ebeffcfcc32bc6f8bc31f3eee5cb6da5c SHA512 e48a10c70d884263948e5ce5c7341de84db98ca53194e451aa64158931df57150a2d754efc06361f463f0465554c5ff5574e7f565b89cdb82dab2d4a35997567
|
EBUILD spawn-0.13.0.ebuild 453 BLAKE2B fd5176e78cbe1bfe8c8f6206c529ad971ed22b165176221cdd2c841738ca1070d3b83e8c58cdc89adf103c0a02ea063ebeffcfcc32bc6f8bc31f3eee5cb6da5c SHA512 e48a10c70d884263948e5ce5c7341de84db98ca53194e451aa64158931df57150a2d754efc06361f463f0465554c5ff5574e7f565b89cdb82dab2d4a35997567
|
||||||
|
EBUILD spawn-0.15.0.ebuild 459 BLAKE2B 62a5da443361a62a047a469f5a89a844effb326498582ce5d9ede13484d86e3ab9edcf80021232993b8a0567793b9f1d559f3760c2f8530093aba1df628bf21f SHA512 d63f5d632ceec5c3a6e108238d9c343a4ca51f59561f23b9942c16963e1741482e6dda4362837947b130d5a0e217b46aa85ed5e84cd0869c172f0f0011464a14
|
||||||
MISC metadata.xml 314 BLAKE2B 24e080f5ed71e296ae2f0009a34fbb934250f84a002dc06bb7ef471ef97bfe8c1a38ed518b04be7ac0321fee38aa4c5688661e5b635edcb4cd19b468a92582e7 SHA512 8d2d7910c38d0272244e16bc337c787f520786d22986904a736da319eaa2629b136c951147e190bbaeb8a161cd38578daedfcd3101fdc7376635ed3d2aa35417
|
MISC metadata.xml 314 BLAKE2B 24e080f5ed71e296ae2f0009a34fbb934250f84a002dc06bb7ef471ef97bfe8c1a38ed518b04be7ac0321fee38aa4c5688661e5b635edcb4cd19b468a92582e7 SHA512 8d2d7910c38d0272244e16bc337c787f520786d22986904a736da319eaa2629b136c951147e190bbaeb8a161cd38578daedfcd3101fdc7376635ed3d2aa35417
|
||||||
|
@ -0,0 +1,18 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit dune
|
||||||
|
|
||||||
|
DESCRIPTION="Spawning sub-processes"
|
||||||
|
HOMEPAGE="https://github.com/janestreet/spawn"
|
||||||
|
SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0/${PV}"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
||||||
|
IUSE="+ocamlopt test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
BDEPEND="test? ( dev-ml/ppx_expect )"
|
@ -0,0 +1,30 @@
|
|||||||
|
# Copyright 2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="A Python package that generates fake data for you"
|
||||||
|
HOMEPAGE="https://github.com/joke2k/faker"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}]
|
||||||
|
!dev-ruby/faker"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pillow[${PYTHON_USEDEP},tiff]
|
||||||
|
dev-python/random2[${PYTHON_USEDEP}]
|
||||||
|
dev-python/validators[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
Binary file not shown.
@ -1,3 +1,3 @@
|
|||||||
DIST commonmark-0.9.1.tar.gz 95764 BLAKE2B 1f61de784c5cf03aa5255f5fae18c48df30aab8ef135ccf85a0b7a14cfc64275476458fc0853ecfc9beee96daca31d5cccb30d218f7d5b5343844e57aa7a77ec SHA512 bacf5ef387a0c330a2128f42c42c29c1a48ae623683e6e56ad28a1621aabd72e29cd3e2d661e8207b8cc0c347d267f262a55f2145fc58f8c8aeff91e7a283324
|
DIST commonmark-0.9.1.tar.gz 95764 BLAKE2B 1f61de784c5cf03aa5255f5fae18c48df30aab8ef135ccf85a0b7a14cfc64275476458fc0853ecfc9beee96daca31d5cccb30d218f7d5b5343844e57aa7a77ec SHA512 bacf5ef387a0c330a2128f42c42c29c1a48ae623683e6e56ad28a1621aabd72e29cd3e2d661e8207b8cc0c347d267f262a55f2145fc58f8c8aeff91e7a283324
|
||||||
EBUILD commonmark-0.9.1.ebuild 1004 BLAKE2B 231253f9cfe80ba215e36b11a5a0ed5a369d02f1c3095e20ae4db58b159e487f3161a35d88a833ff3d805f21a1d1c3737f8e2008a6f02eb10472d1fbd7f671d2 SHA512 8a609ff128db9f10f7ccc6bb0aa7beafef6f82c529c4e2ef87998c7b300436a3b8914e0ef69bc991f58199bba5d9c9e9d947b937fed86851e1c836774403a642
|
EBUILD commonmark-0.9.1.ebuild 1051 BLAKE2B b673b11adb4b91c23418cdf846b010719aa8e52a7f7ea434a6f60810a196885a2783cd54c0cb424738305684f1950aa32b9f6d6c031033d2a7a788078e5af118 SHA512 485d4bb59a84afa59cc69f38418008c94dfcb6db45ae60bffe0729416f8386e6cddc07d8b64d264bdb202bcb6e3ad10f8495a682fce9c6ac4bfd958528c6e170
|
||||||
MISC metadata.xml 764 BLAKE2B b4eec14c6816151aba2e6cfdd67dcd18ea73406193e10cf0dbcdf8c2a6e6d2c5355b4f22757f81abee02cd7e2285c69ba47885ae724806e6658796b87afb0049 SHA512 5c9141bc1c5dc745e500b72e87eff6bce24ba64cd09a39ed73031e4bf7cde24fb05c5b8aa72559146fc5e5c2771795c02a6f8732dd9fffb25d78a45e06e41df8
|
MISC metadata.xml 764 BLAKE2B 4cac2589118c2b971450bf7aaffb1acc288de1d5d7f34760eb49a2ccccb531e35cb2c8719ca81c49dae3221271d7340b1f238cf1cba20c35c9708438b68c4074 SHA512 9f2223a67f87c806f7beffb03454790ec828975d7bf58e5753733090713869fd10584c84c43db988b6d02eb1210c14239dec433a16353b530f128b3c31c7be0d
|
||||||
|
@ -0,0 +1,92 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{7..9} )
|
||||||
|
PYTHON_REQ_USE='sqlite?,threads(+)'
|
||||||
|
|
||||||
|
inherit bash-completion-r1 distutils-r1 optfeature verify-sig
|
||||||
|
|
||||||
|
MY_P=${P^}
|
||||||
|
DESCRIPTION="High-level Python web framework"
|
||||||
|
HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/"
|
||||||
|
SRC_URI="
|
||||||
|
https://media.djangoproject.com/releases/$(ver_cut 1-2)/${MY_P}.tar.gz
|
||||||
|
verify-sig? ( https://media.djangoproject.com/pgp/${MY_P}.checksum.txt )"
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
# admin fonts: Roboto (media-fonts/roboto)
|
||||||
|
LICENSE+=" Apache-2.0"
|
||||||
|
# admin icons, jquery, xregexp.js
|
||||||
|
LICENSE+=" MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||||
|
IUSE="doc sqlite test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/pytz[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}]"
|
||||||
|
BDEPEND="
|
||||||
|
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||||
|
test? (
|
||||||
|
$(python_gen_impl_dep sqlite)
|
||||||
|
${RDEPEND}
|
||||||
|
dev-python/docutils[${PYTHON_USEDEP}]
|
||||||
|
dev-python/jinja[${PYTHON_USEDEP}]
|
||||||
|
dev-python/numpy[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pillow[webp,${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
dev-python/selenium[${PYTHON_USEDEP}]
|
||||||
|
dev-python/tblib[${PYTHON_USEDEP}]
|
||||||
|
sys-devel/gettext
|
||||||
|
)
|
||||||
|
verify-sig? ( sec-keys/openpgp-keys-django )
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-2.0.7-bashcomp.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
distutils_enable_sphinx docs --no-autodoc
|
||||||
|
|
||||||
|
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/django.asc
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
if use verify-sig; then
|
||||||
|
cd "${DISTDIR}" || die
|
||||||
|
verify-sig_verify_signed_checksums \
|
||||||
|
"${MY_P}.checksum.txt" sha256 "${MY_P}.tar.gz"
|
||||||
|
cd "${WORKDIR}" || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
# Tests have non-standard assumptions about PYTHONPATH,
|
||||||
|
# and don't work with ${BUILD_DIR}/lib.
|
||||||
|
PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 ||
|
||||||
|
die "Tests fail with ${EPYTHON}"
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
newbashcomp extras/django_bash_completion ${PN}-admin
|
||||||
|
bashcomp_alias ${PN}-admin django-admin.py
|
||||||
|
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
optfeature_header "Additional Backend support can be enabled via:"
|
||||||
|
optfeature "MySQL backend support" dev-python/mysqlclient
|
||||||
|
optfeature "PostgreSQL backend support" dev-python/psycopg:2
|
||||||
|
optfeature_header
|
||||||
|
optfeature "GEO Django" "sci-libs/gdal[geos]"
|
||||||
|
optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached
|
||||||
|
optfeature "ImageField Support" dev-python/pillow
|
||||||
|
optfeature "Password encryption" dev-python/bcrypt
|
||||||
|
optfeature "High-level abstractions for Django forms" dev-python/django-formtools
|
||||||
|
}
|
@ -0,0 +1,101 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
PYTHON_REQ_USE='sqlite?,threads(+)'
|
||||||
|
|
||||||
|
inherit bash-completion-r1 distutils-r1 optfeature verify-sig
|
||||||
|
|
||||||
|
MY_P=${P^}
|
||||||
|
DESCRIPTION="High-level Python web framework"
|
||||||
|
HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/"
|
||||||
|
SRC_URI="
|
||||||
|
https://media.djangoproject.com/releases/$(ver_cut 1-2)/${MY_P}.tar.gz
|
||||||
|
verify-sig? ( https://media.djangoproject.com/pgp/${MY_P}.checksum.txt )"
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
# admin fonts: Roboto (media-fonts/roboto)
|
||||||
|
LICENSE+=" Apache-2.0"
|
||||||
|
# admin icons, jquery, xregexp.js
|
||||||
|
LICENSE+=" MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
|
||||||
|
IUSE="doc sqlite test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/asgiref-3.3.4[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytz[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}]"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
$(python_gen_impl_dep sqlite)
|
||||||
|
${RDEPEND}
|
||||||
|
dev-python/docutils[${PYTHON_USEDEP}]
|
||||||
|
dev-python/jinja[${PYTHON_USEDEP}]
|
||||||
|
dev-python/numpy[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pillow[webp,${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
dev-python/selenium[${PYTHON_USEDEP}]
|
||||||
|
dev-python/tblib[${PYTHON_USEDEP}]
|
||||||
|
sys-devel/gettext
|
||||||
|
!!<dev-python/ipython-7.21.0-r1
|
||||||
|
!!=dev-python/ipython-7.22.0-r0
|
||||||
|
)
|
||||||
|
verify-sig? ( >=sec-keys/openpgp-keys-django-20201201 )
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-3.1-bashcomp.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
distutils_enable_sphinx docs --no-autodoc
|
||||||
|
|
||||||
|
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/django.asc
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
if use verify-sig; then
|
||||||
|
cd "${DISTDIR}" || die
|
||||||
|
verify-sig_verify_signed_checksums \
|
||||||
|
"${MY_P}.checksum.txt" sha256 "${MY_P}.tar.gz"
|
||||||
|
cd "${WORKDIR}" || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
# Fails because of warnings
|
||||||
|
sed -i 's/test_dumpdata_proxy_with_concrete/_&/' tests/fixtures/tests.py
|
||||||
|
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
# Tests have non-standard assumptions about PYTHONPATH,
|
||||||
|
# and don't work with ${BUILD_DIR}/lib.
|
||||||
|
PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 ||
|
||||||
|
die "Tests fail with ${EPYTHON}"
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
newbashcomp extras/django_bash_completion ${PN}-admin
|
||||||
|
bashcomp_alias ${PN}-admin django-admin.py
|
||||||
|
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
optfeature_header "Additional Backend support can be enabled via:"
|
||||||
|
optfeature "MySQL backend support" dev-python/mysqlclient
|
||||||
|
optfeature "PostgreSQL backend support" dev-python/psycopg:2
|
||||||
|
optfeature_header
|
||||||
|
optfeature "GEO Django" "sci-libs/gdal[geos]"
|
||||||
|
optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached
|
||||||
|
optfeature "ImageField Support" dev-python/pillow
|
||||||
|
optfeature "Password encryption" dev-python/bcrypt
|
||||||
|
optfeature "High-level abstractions for Django forms" dev-python/django-formtools
|
||||||
|
}
|
@ -0,0 +1,103 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
PYTHON_REQ_USE='sqlite?,threads(+)'
|
||||||
|
|
||||||
|
inherit bash-completion-r1 distutils-r1 optfeature verify-sig
|
||||||
|
|
||||||
|
MY_P=${P^}
|
||||||
|
DESCRIPTION="High-level Python web framework"
|
||||||
|
HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/"
|
||||||
|
SRC_URI="
|
||||||
|
https://media.djangoproject.com/releases/$(ver_cut 1-2)/${MY_P}.tar.gz
|
||||||
|
verify-sig? ( https://media.djangoproject.com/pgp/${MY_P}.checksum.txt )"
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
# admin fonts: Roboto (media-fonts/roboto)
|
||||||
|
LICENSE+=" Apache-2.0"
|
||||||
|
# admin icons, jquery, xregexp.js
|
||||||
|
LICENSE+=" MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
|
||||||
|
IUSE="doc sqlite test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/asgiref-3.4.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}]
|
||||||
|
$(python_gen_cond_dep '
|
||||||
|
dev-python/backports-zoneinfo[${PYTHON_USEDEP}]
|
||||||
|
' python3_8 pypy3)"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
$(python_gen_impl_dep sqlite)
|
||||||
|
${RDEPEND}
|
||||||
|
dev-python/docutils[${PYTHON_USEDEP}]
|
||||||
|
dev-python/jinja[${PYTHON_USEDEP}]
|
||||||
|
dev-python/numpy[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pillow[webp,${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
dev-python/selenium[${PYTHON_USEDEP}]
|
||||||
|
dev-python/tblib[${PYTHON_USEDEP}]
|
||||||
|
sys-devel/gettext
|
||||||
|
!!<dev-python/ipython-7.21.0-r1
|
||||||
|
!!=dev-python/ipython-7.22.0-r0
|
||||||
|
)
|
||||||
|
verify-sig? ( >=sec-keys/openpgp-keys-django-20201201 )
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-4.0-bashcomp.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
distutils_enable_sphinx docs --no-autodoc
|
||||||
|
|
||||||
|
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/django.asc
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
if use verify-sig; then
|
||||||
|
cd "${DISTDIR}" || die
|
||||||
|
verify-sig_verify_signed_checksums \
|
||||||
|
"${MY_P}.checksum.txt" sha256 "${MY_P}.tar.gz"
|
||||||
|
cd "${WORKDIR}" || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
# Fails because of warnings
|
||||||
|
sed -i 's/test_dumpdata_proxy_with_concrete/_&/' tests/fixtures/tests.py
|
||||||
|
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
# Tests have non-standard assumptions about PYTHONPATH,
|
||||||
|
# and don't work with ${BUILD_DIR}/lib.
|
||||||
|
PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 ||
|
||||||
|
die "Tests fail with ${EPYTHON}"
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
newbashcomp extras/django_bash_completion ${PN}-admin
|
||||||
|
bashcomp_alias ${PN}-admin django-admin.py
|
||||||
|
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
optfeature_header "Additional Backend support can be enabled via:"
|
||||||
|
optfeature "MySQL backend support" dev-python/mysqlclient
|
||||||
|
optfeature "PostgreSQL backend support" dev-python/psycopg:2
|
||||||
|
optfeature_header
|
||||||
|
optfeature "GEO Django" "sci-libs/gdal[geos]"
|
||||||
|
optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached
|
||||||
|
optfeature "ImageField Support" dev-python/pillow
|
||||||
|
optfeature "Password encryption" dev-python/bcrypt
|
||||||
|
optfeature "High-level abstractions for Django forms" dev-python/django-formtools
|
||||||
|
}
|
@ -1,5 +1,5 @@
|
|||||||
DIST httpx-0.21.3.tar.gz 2157078 BLAKE2B 08a9328a7350534abe646f0bf60bd15600a1cb3eb8d06578c87ed9a7d4e55efdddd2be597650cddec9f6456e89a1b159f3e23aa657f379f78157c12670cdadb0 SHA512 0a551de52954db5ed2c33d1b5c172607516031a7c86c0f235bd04f12f4cf82f63980a9f53115dac801748b0c282890b3ed4a53b2c912adbd245c10ad61dbf67e
|
DIST httpx-0.21.3.tar.gz 2157078 BLAKE2B 08a9328a7350534abe646f0bf60bd15600a1cb3eb8d06578c87ed9a7d4e55efdddd2be597650cddec9f6456e89a1b159f3e23aa657f379f78157c12670cdadb0 SHA512 0a551de52954db5ed2c33d1b5c172607516031a7c86c0f235bd04f12f4cf82f63980a9f53115dac801748b0c282890b3ed4a53b2c912adbd245c10ad61dbf67e
|
||||||
DIST httpx-0.22.0.gh.tar.gz 2157682 BLAKE2B bb08a7c4b72478d24264c0dca5630205ff386af73294dca66dcd12b646de602ad64e308feedaabd58742cb7a9d799fa23cd2f922e685e74f8181e1b5e9f1c4ee SHA512 a7360f5355f75f07425b42d49697e480319f3fe606d4601bb6d64b870c8a8fce6fad8bd857ef422fc48e6141201307ee94876d5bc54a68557c7dc32ce8f1451b
|
DIST httpx-0.22.0.gh.tar.gz 2157682 BLAKE2B bb08a7c4b72478d24264c0dca5630205ff386af73294dca66dcd12b646de602ad64e308feedaabd58742cb7a9d799fa23cd2f922e685e74f8181e1b5e9f1c4ee SHA512 a7360f5355f75f07425b42d49697e480319f3fe606d4601bb6d64b870c8a8fce6fad8bd857ef422fc48e6141201307ee94876d5bc54a68557c7dc32ce8f1451b
|
||||||
EBUILD httpx-0.21.3.ebuild 2013 BLAKE2B 14043bdc42c5b3a1dc352836273f935b6c0ffe034e5aa58965d8ce7d422712d8a6fbeb3ec14a1e4ad60b62a1ef80755f84481bbe0eecaeef32ed68f9e780a5bd SHA512 e87c99ff77474483c607933152cfc053efd5768cec2a85b0a4f187c14f608d4c11c331a89e7f7b778d6a5695c2833c5cd2c772752068c106971ca9bbd8736e80
|
EBUILD httpx-0.21.3.ebuild 2013 BLAKE2B 14043bdc42c5b3a1dc352836273f935b6c0ffe034e5aa58965d8ce7d422712d8a6fbeb3ec14a1e4ad60b62a1ef80755f84481bbe0eecaeef32ed68f9e780a5bd SHA512 e87c99ff77474483c607933152cfc053efd5768cec2a85b0a4f187c14f608d4c11c331a89e7f7b778d6a5695c2833c5cd2c772752068c106971ca9bbd8736e80
|
||||||
EBUILD httpx-0.22.0.ebuild 2297 BLAKE2B d547a63878fba72ac8d145f1f0f4d1f6625f11dff28344c39f0a23c4bc4c298a3bc3abee6ef739c20e784ddddbb5748cbb2ff1bf1c4807237aab8dcbed473152 SHA512 07efe3f46a8daaf2a380e0b887f4e4fca71109167dbd910487a645064de92fc776e7493fbe31c7c046caf5ccb9c5e936960d27350f5b2decdb6086a1b8f826fa
|
EBUILD httpx-0.22.0-r1.ebuild 2349 BLAKE2B 80073590fe425876072dfe5434955f7031c9091d0838dabdf1f7b1dc26cdb9910815f5d01185cba835d98f4ca811688b6e8ec33474b51730ce7be37d5d41cf0a SHA512 bee92cbc6d8288cc5cbd800103b56e353a2ddb01e211ceb7457730e3f5e615e34398140d4343079aa58ff530630af6481164d22ed4c0a37c190c15a45ff4be2f
|
||||||
MISC metadata.xml 518 BLAKE2B 063b5b95529cd5a31aac83998c0acbdfef208c34e931c96ae8ee767a326301a597a8297514b5c97bef2b3b706b8938d38c0e5f5d752307a9dd06984792c799a2 SHA512 3a29dffa0f951255a67468b28917590d4108ca12e14af03bfddef80f6d48e266fcccdd991e778ab9e267c0bc76ff0017e07905c1f2f45dc440a9af89f6cae6aa
|
MISC metadata.xml 518 BLAKE2B 063b5b95529cd5a31aac83998c0acbdfef208c34e931c96ae8ee767a326301a597a8297514b5c97bef2b3b706b8938d38c0e5f5d752307a9dd06984792c799a2 SHA512 3a29dffa0f951255a67468b28917590d4108ca12e14af03bfddef80f6d48e266fcccdd991e778ab9e267c0bc76ff0017e07905c1f2f45dc440a9af89f6cae6aa
|
||||||
|
@ -0,0 +1,23 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="File identification library for Python"
|
||||||
|
HOMEPAGE="https://github.com/pre-commit/identify"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/pre-commit/${PN}/archive/v${PV}.tar.gz
|
||||||
|
-> ${P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
|
||||||
|
|
||||||
|
RDEPEND="dev-python/ukkonen[${PYTHON_USEDEP}]"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
@ -1,3 +1,5 @@
|
|||||||
DIST inflect-5.3.0.tar.gz 74127 BLAKE2B 20c591012a5a6692c3da3a39f4aeaaae290da5ba723af5c9ac90f7d28112a1894acf082633f8f673f6d903f756b9bb70c6c3366762e872cf7ca6c6d5edf1c99c SHA512 f5baf65fb7a6ba59c91a36a17acb0abda3efc74fef56b3a3d99c100b2c6e94c5aafb08ab37310ce410631ac928e9c24a4a4c5e6b5c7d8f907c3d999f4a70cce4
|
DIST inflect-5.3.0.tar.gz 74127 BLAKE2B 20c591012a5a6692c3da3a39f4aeaaae290da5ba723af5c9ac90f7d28112a1894acf082633f8f673f6d903f756b9bb70c6c3366762e872cf7ca6c6d5edf1c99c SHA512 f5baf65fb7a6ba59c91a36a17acb0abda3efc74fef56b3a3d99c100b2c6e94c5aafb08ab37310ce410631ac928e9c24a4a4c5e6b5c7d8f907c3d999f4a70cce4
|
||||||
|
DIST inflect-5.4.0.tar.gz 68594 BLAKE2B 60898e019c04b9d86a1591c341f48e7e3093eaa4f93bb4f902f4d405f1151d705f902b792028ca97a85ed47ffe509bab758b3ec74878ec82f5dac3c953197ca0 SHA512 48b7d38faf41b3f682226b66ea5493b7d4ff58a8db52c9b90092fc329aee761b090791deeda24234b9f9fa47d8db9b499e1f4304367ef3637c441959e8b8d005
|
||||||
EBUILD inflect-5.3.0.ebuild 693 BLAKE2B 93956f86b918a514e41d69cb299105b103ffc17958745019a2c01a4f6585cf87126bffef8048d74755f3697c209cdf45809f7a637480e421ead88c298b80721b SHA512 3f076cb75a6de1b7a18b841c599b396a3055375de73d4a0fb419d7e3e4c4ae8b031c142fde3086d642ef19439750c531a328afdc1bae39f204e31251d7e256d2
|
EBUILD inflect-5.3.0.ebuild 693 BLAKE2B 93956f86b918a514e41d69cb299105b103ffc17958745019a2c01a4f6585cf87126bffef8048d74755f3697c209cdf45809f7a637480e421ead88c298b80721b SHA512 3f076cb75a6de1b7a18b841c599b396a3055375de73d4a0fb419d7e3e4c4ae8b031c142fde3086d642ef19439750c531a328afdc1bae39f204e31251d7e256d2
|
||||||
|
EBUILD inflect-5.4.0.ebuild 698 BLAKE2B c744306f244e8f4b73d7e4b76b9db92ef766a80240ed341adcb4839c33eaaf6a24e589d1e7ea8438e12e740b299b9f9cd0ab01975f8c6e4fb9dae84c246b510f SHA512 1f1e130195f816845c0a984e6069c86cb3823f1d93f0e773880253c80a47b902aa0db6effa6d26db9ebfe8d57cec8974873a1436da270b62818e50f013d37970
|
||||||
MISC metadata.xml 557 BLAKE2B 1a327bb3ea2f7ecb0b3100d9f443c9c0c20a89f1e560eac79cef20a6f12855355dab9c71bab94881774e2be6fc2b4bd9530e1155caecdf687228db259ed34bba SHA512 d719ba7da2f6544cada37998dbc6b104cebb6419ab65bd164411928953c5898da2f5f2f789b72d41f7b46ee7a5570fc6646d331e0df39b34c1fa0685fb9165ab
|
MISC metadata.xml 557 BLAKE2B 1a327bb3ea2f7ecb0b3100d9f443c9c0c20a89f1e560eac79cef20a6f12855355dab9c71bab94881774e2be6fc2b4bd9530e1155caecdf687228db259ed34bba SHA512 d719ba7da2f6544cada37998dbc6b104cebb6419ab65bd164411928953c5898da2f5f2f789b72d41f7b46ee7a5570fc6646d331e0df39b34c1fa0685fb9165ab
|
||||||
|
@ -0,0 +1,25 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( pypy3 python3_{8..10} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Correctly inflect words and numbers"
|
||||||
|
HOMEPAGE="https://github.com/jaraco/inflect"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
>=dev-python/setuptools_scm-3.4.1[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_sphinx docs '>=dev-python/jaraco-packaging-8.2' \
|
||||||
|
'>=dev-python/rst-linker-1.9' dev-python/alabaster
|
||||||
|
distutils_enable_tests pytest
|
@ -1,3 +1,3 @@
|
|||||||
DIST jaraco.path-3.3.1.tar.gz 13287 BLAKE2B 8a803269fc02cc85391b4b1e1f2ee2a94c039d433b505aeb4aa0fcbb23731b802f236cd2de80dbb8b9e59297312892a085632f41234d3e1bb7d4bd04f62e00ba SHA512 00dac02fdc6df469f8661d552b16a8ee6150d86a7df9459264377a03e96fd94608f9782ad4cc2b2df67c64a10f8af26ed650b0bac0b1e59607d429abdbe64309
|
DIST jaraco.path-3.3.1.tar.gz 13287 BLAKE2B 8a803269fc02cc85391b4b1e1f2ee2a94c039d433b505aeb4aa0fcbb23731b802f236cd2de80dbb8b9e59297312892a085632f41234d3e1bb7d4bd04f62e00ba SHA512 00dac02fdc6df469f8661d552b16a8ee6150d86a7df9459264377a03e96fd94608f9782ad4cc2b2df67c64a10f8af26ed650b0bac0b1e59607d429abdbe64309
|
||||||
EBUILD jaraco-path-3.3.1.ebuild 983 BLAKE2B 3dfce78649bf78d52b6d7ccabbb8a82cfb3ad8d2b3a6794578bf159cf647b9b98c17949eba87ea61e5397e93dc2a73aea485f3995f01342c09564cf798b320c0 SHA512 e3317bef79dec0566c06dc8405bc5532671e7cf282b414f545506d67d11d56ea22700ee4c13a09a62cdb8384126115740e142b61c09851311653372fb224dcb3
|
EBUILD jaraco-path-3.3.1.ebuild 942 BLAKE2B cd85b796ddba7cb8ef289619823dbfa19cfa2f35a105c3e0848a2b17b0a089c88e0d7edcd0e053216cc76fbd75201d4396a821fca57b44a5cb9a4723fad19c56 SHA512 946a2d3c789d82d496523004984cea4eb186c104dd75a18a9164ccc48e873a33830e1b2d8eb869ae6dcbec6e542fc2b450452909c9a0afad201a9b09c35674bf
|
||||||
MISC metadata.xml 397 BLAKE2B 899056eaa6d393d9c624e20ff93a644bd93f39505f701a085f22d4216154a3c1b19bb879bcbe45f077fba7d91ad5e34617283b10f535305b322c580712df10fc SHA512 104c1a8d8a2613ed4355b6537ce0733b36e915d98ad69204d2a7763dd6e7bbdf74c2cc2e66f34000426e04e79f19a84ca1d8a57e504c62adaa4386f372d34dda
|
MISC metadata.xml 397 BLAKE2B 899056eaa6d393d9c624e20ff93a644bd93f39505f701a085f22d4216154a3c1b19bb879bcbe45f077fba7d91ad5e34617283b10f535305b322c580712df10fc SHA512 104c1a8d8a2613ed4355b6537ce0733b36e915d98ad69204d2a7763dd6e7bbdf74c2cc2e66f34000426e04e79f19a84ca1d8a57e504c62adaa4386f372d34dda
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
DIST pyicu-v2.8.1.tar.bz2 242774 BLAKE2B eeb3c45124301b7072addcbfc3c97521d21fbdb5bdf2b0fe94f0181c225927a0b3bd6ab6271140fa9928d0220e5cb33c800b367cf4b0cf844ad64a2438aa016b SHA512 dc7fb292322c565da045db9d91e9b4cd58a559d6f78bf3f050bf25fbab942179b463b977340e08bbeb107e3a2be8a2eb0a0a91911e0c0b8b96327ba85fd13c46
|
||||||
DIST pyicu-v2.8.tar.bz2 242791 BLAKE2B 0492b1fbbb97a92fb90620fb720cf82ddb2e404d4ce4d20d4204c271ae0c32c526e5832f5658205893381c074f6b1e2a3274f1935efac094241fe2afbc7b9c07 SHA512 c8ecc11322de79d42aa0f0336cdc47637af203bbf2782107132d3c194cef3725114ba6fc40bbd2bffc26ce168d6d4e39f069904aa268d0d095c506ddca292051
|
DIST pyicu-v2.8.tar.bz2 242791 BLAKE2B 0492b1fbbb97a92fb90620fb720cf82ddb2e404d4ce4d20d4204c271ae0c32c526e5832f5658205893381c074f6b1e2a3274f1935efac094241fe2afbc7b9c07 SHA512 c8ecc11322de79d42aa0f0336cdc47637af203bbf2782107132d3c194cef3725114ba6fc40bbd2bffc26ce168d6d4e39f069904aa268d0d095c506ddca292051
|
||||||
|
EBUILD pyicu-2.8.1.ebuild 664 BLAKE2B 7659910ee7439bee9b8481bb48774d0ec27aea45c61d46dd889ba08909321e83c8a2de8879ff9d97723ab0d94cc786354c8d59fdf0e34817f6f3a7c78c9592d4 SHA512 98e141501c82314fb2ebed34c4224e07008071e44595ca26d85004aab7a7d49c69a8bbc41faa6fb6c0d6554ccdb64577019564f22cc03a29d03508b0ad8b1937
|
||||||
EBUILD pyicu-2.8.ebuild 629 BLAKE2B 644be8ae4aae181ea2be74b2031536f80fd986521d7468dc6bb843acd75328e25c4100c0f3015ffb5fde3e811dae101bd1ed11fbf70f4775babb95b6adc0e921 SHA512 830eae0bfd9d3c0d55a447e1a8d13c8256fd009338932fc4497a4bb4ce0034b4a76030e4ca773754bed99ff9c031f30a2a6bab6fc6f8a6c0fb454e68de34b147
|
EBUILD pyicu-2.8.ebuild 629 BLAKE2B 644be8ae4aae181ea2be74b2031536f80fd986521d7468dc6bb843acd75328e25c4100c0f3015ffb5fde3e811dae101bd1ed11fbf70f4775babb95b6adc0e921 SHA512 830eae0bfd9d3c0d55a447e1a8d13c8256fd009338932fc4497a4bb4ce0034b4a76030e4ca773754bed99ff9c031f30a2a6bab6fc6f8a6c0fb454e68de34b147
|
||||||
MISC metadata.xml 415 BLAKE2B a96dc033850e25f2afcd4128d38becd7c86263e5bb366a701c88a2bc81118aef03217bbfe0c2ff0719f636104b2a12995815c36f2a3e6539136509c7900c25e4 SHA512 e8d901e2276b0a92ae8e0cdd4b0e1cacd29d9eda86491a31a2057d013b7c4f8c340d0e83dbfd53500906f79a827d837cc7e445c24e6cf5b50ee809ec2c35eb13
|
MISC metadata.xml 415 BLAKE2B a96dc033850e25f2afcd4128d38becd7c86263e5bb366a701c88a2bc81118aef03217bbfe0c2ff0719f636104b2a12995815c36f2a3e6539136509c7900c25e4 SHA512 e8d901e2276b0a92ae8e0cdd4b0e1cacd29d9eda86491a31a2057d013b7c4f8c340d0e83dbfd53500906f79a827d837cc7e445c24e6cf5b50ee809ec2c35eb13
|
||||||
|
@ -0,0 +1,31 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
MY_P=${P/-/-v}
|
||||||
|
DESCRIPTION="Python bindings for dev-libs/icu"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://gitlab.pyicu.org/main/pyicu/
|
||||||
|
https://pypi.org/project/PyICU/"
|
||||||
|
SRC_URI="
|
||||||
|
https://gitlab.pyicu.org/main/pyicu/-/archive/v${PV}/${MY_P}.tar.bz2"
|
||||||
|
S=${WORKDIR}/${MY_P}
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
RDEPEND="dev-libs/icu:="
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="
|
||||||
|
test? ( dev-python/six[${PYTHON_USEDEP}] )"
|
||||||
|
|
||||||
|
DOCS=( CHANGES CREDITS README.md )
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
@ -1,6 +1,6 @@
|
|||||||
AUX python-systemd-234-fix-py3.10.patch 1539 BLAKE2B c41b20fea9165c62620c2b7262ddb0e331d24c2e950bcd0cf78c92d5f5f79804a9f0eb4a52a7203d353a6be297118e3b951823a973f9a99a8211efb5a31be458 SHA512 92a4497733efa551d9c966f39ba31bc9d3443ece6591f4d664c3732f01f10c928c07de13e2b9e65725f30fa18da7a4a9ee172e0b627d98e1d991c19b7762e2ab
|
AUX python-systemd-234-fix-py3.10.patch 1539 BLAKE2B c41b20fea9165c62620c2b7262ddb0e331d24c2e950bcd0cf78c92d5f5f79804a9f0eb4a52a7203d353a6be297118e3b951823a973f9a99a8211efb5a31be458 SHA512 92a4497733efa551d9c966f39ba31bc9d3443ece6591f4d664c3732f01f10c928c07de13e2b9e65725f30fa18da7a4a9ee172e0b627d98e1d991c19b7762e2ab
|
||||||
DIST python-systemd-234.tar.gz 53900 BLAKE2B 2658ee7083036ed8259e5f4ad0714ea15227ee836ad34c7fbbdb55dd9df48751b8d9998350d789b4f47e78fe7b4a7134e12d637e5a6ebeb29a0b31e5a4575d91 SHA512 164e34ba46827711e9c6ff9ed58b2706d9a22abfc7001de030ed7d463d8ddf783eb5fee93b207c29950a3c566018cc3f1a21a549421cf3e05c1287b433367eb2
|
DIST python-systemd-234.tar.gz 53900 BLAKE2B 2658ee7083036ed8259e5f4ad0714ea15227ee836ad34c7fbbdb55dd9df48751b8d9998350d789b4f47e78fe7b4a7134e12d637e5a6ebeb29a0b31e5a4575d91 SHA512 164e34ba46827711e9c6ff9ed58b2706d9a22abfc7001de030ed7d463d8ddf783eb5fee93b207c29950a3c566018cc3f1a21a549421cf3e05c1287b433367eb2
|
||||||
EBUILD python-systemd-234-r1.ebuild 875 BLAKE2B 1db3cda0b08804dea24eca69c805e776576ecdbfc33ca7cb8c62272e966f4c79636c88684048f87f8c63d657e849c02f4419896c18d4d714e84e1e245cdf6963 SHA512 990969d50ad283ff3394aff73d5e59728edb23d85868f74d370742c90a11758e86a917e5138e560d935d5ecf1dba6154eb0e98e4ec9c1391d9d3f17cd167d348
|
EBUILD python-systemd-234-r1.ebuild 875 BLAKE2B 1db3cda0b08804dea24eca69c805e776576ecdbfc33ca7cb8c62272e966f4c79636c88684048f87f8c63d657e849c02f4419896c18d4d714e84e1e245cdf6963 SHA512 990969d50ad283ff3394aff73d5e59728edb23d85868f74d370742c90a11758e86a917e5138e560d935d5ecf1dba6154eb0e98e4ec9c1391d9d3f17cd167d348
|
||||||
EBUILD python-systemd-234-r2.ebuild 937 BLAKE2B d9b9aff2e9bda6b58f42dfc36b53d9773b7e9a136e56c591df581db2018de349925837ea95946c82be28bfad4a1c6322127af4ed2931658beb3293ab1d5087f9 SHA512 efea502c4d43377b2519af4431ec321c7d334d515e51bc193dff16f63811544f69aec1487d5ca3815371f66d31457311de6000d5f453c5b86bbd5a5afa857caa
|
EBUILD python-systemd-234-r2.ebuild 867 BLAKE2B 31fae39480e6f436230c1c55d78c131fbdf2c43e8d0a2f7ca20f51c228a5aa6e4c95e3254a7976935857aaf499a30b0872cb9fb5d84bde32c2e708b2b47dd336 SHA512 588a21ca0acc19fb1f8f944605475676a11140e1975f06d17d286b8e5d4add4f2d28f36c6973328c6f3d493e94fc5c805c4a8028e96182c139eb33d261687ba2
|
||||||
EBUILD python-systemd-234.ebuild 894 BLAKE2B 809e9e3314b2eaa2ec4f849f9a1d6c106ac29d53c64d2b784362a6d9e50cf351c8e669e20b9e30c4320a5838461e8be8c287101512f3d62337d93c2e8aee0e6c SHA512 d3cab8c01b42501028d11cee51b97ff7ab5a73984ae7afb857f5e596c04f45024802ce1c14ad8f29a6912af6ec4fea65495f9fde3f3f707f11711b7856285dee
|
EBUILD python-systemd-234.ebuild 894 BLAKE2B 809e9e3314b2eaa2ec4f849f9a1d6c106ac29d53c64d2b784362a6d9e50cf351c8e669e20b9e30c4320a5838461e8be8c287101512f3d62337d93c2e8aee0e6c SHA512 d3cab8c01b42501028d11cee51b97ff7ab5a73984ae7afb857f5e596c04f45024802ce1c14ad8f29a6912af6ec4fea65495f9fde3f3f707f11711b7856285dee
|
||||||
MISC metadata.xml 359 BLAKE2B 458599dbb5364bdf58f0cabf3fe07f03f79a4cdfb3f707ef6db328c453e606b587e13fa3349e0e0c899a7b1655e558ccae00e6a9ea22146b9e68099e0ac1a981 SHA512 73e524d826bb08d80fbe3e643be5f08e39620ddb343006752729ea41e594ad13eb6241c30da78a58f67e6e5e3c51f567a9e761af498f882f1e23ce0308bfd690
|
MISC metadata.xml 359 BLAKE2B 458599dbb5364bdf58f0cabf3fe07f03f79a4cdfb3f707ef6db328c453e606b587e13fa3349e0e0c899a7b1655e558ccae00e6a9ea22146b9e68099e0ac1a981 SHA512 73e524d826bb08d80fbe3e643be5f08e39620ddb343006752729ea41e594ad13eb6241c30da78a58f67e6e5e3c51f567a9e761af498f882f1e23ce0308bfd690
|
||||||
|
@ -0,0 +1,129 @@
|
|||||||
|
From 8e3a0be6fbb9186fa45cc42ec833d0895d2313ba Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
|
||||||
|
Date: Tue, 1 Feb 2022 12:24:18 +0100
|
||||||
|
Subject: [PATCH 1/2] Fix test_syntax not to use identity comparison on string
|
||||||
|
|
||||||
|
Fix test_syntax to compare strings via "==" rather than "is", in order
|
||||||
|
to fix test failure on PyPy3.
|
||||||
|
---
|
||||||
|
CHANGELOG.md | 4 ++++
|
||||||
|
CONTRIBUTORS.md | 1 +
|
||||||
|
tests/test_syntax.py | 2 +-
|
||||||
|
3 files changed, 6 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/CHANGELOG.md b/CHANGELOG.md
|
||||||
|
index 4997ae3..17f3028 100644
|
||||||
|
--- a/CHANGELOG.md
|
||||||
|
+++ b/CHANGELOG.md
|
||||||
|
@@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
|
- Add support for US spelling of "gray" in ANSI color names https://github.com/Textualize/rich/issues/1890
|
||||||
|
|
||||||
|
+### Fixed
|
||||||
|
+
|
||||||
|
+- Fixed `test_syntax.py::test_from_path_lexer_override` test failure on PyPy3 https://github.com/Textualize/rich/pull/1904
|
||||||
|
+
|
||||||
|
## [11.1.0] - 2022-01-28
|
||||||
|
|
||||||
|
### Added
|
||||||
|
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md
|
||||||
|
index c29cd79..06e0618 100644
|
||||||
|
--- a/CONTRIBUTORS.md
|
||||||
|
+++ b/CONTRIBUTORS.md
|
||||||
|
@@ -27,3 +27,4 @@ The following people have contributed to the development of Rich:
|
||||||
|
- [Nicolas Simonds](https://github.com/0xDEC0DE)
|
||||||
|
- [Gabriele N. Tornetta](https://github.com/p403n1x87)
|
||||||
|
- [Patrick Arminio](https://github.com/patrick91)
|
||||||
|
+- [Michał Górny](https://github.com/mgorny)
|
||||||
|
diff --git a/tests/test_syntax.py b/tests/test_syntax.py
|
||||||
|
index 46d0126..e5d904f 100644
|
||||||
|
--- a/tests/test_syntax.py
|
||||||
|
+++ b/tests/test_syntax.py
|
||||||
|
@@ -277,7 +277,7 @@ def test_from_path_lexer_override():
|
||||||
|
try:
|
||||||
|
os.write(fh, b"import this\n")
|
||||||
|
syntax = Syntax.from_path(path, lexer="rust")
|
||||||
|
- assert syntax.lexer.name is "Rust"
|
||||||
|
+ assert syntax.lexer.name == "Rust"
|
||||||
|
assert syntax.code == "import this\n"
|
||||||
|
finally:
|
||||||
|
os.remove(path)
|
||||||
|
--
|
||||||
|
2.35.1
|
||||||
|
|
||||||
|
From f15dc3ea0b59d5fc04341d3f634f0e61c05a84db Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
|
||||||
|
Date: Tue, 1 Feb 2022 15:10:32 +0100
|
||||||
|
Subject: [PATCH 2/2] Fix test_inspect failures on PyPy3
|
||||||
|
|
||||||
|
Mark the test_inspect tests failing on PyPy3 due to different output
|
||||||
|
to be skipped appropriately.
|
||||||
|
---
|
||||||
|
CHANGELOG.md | 2 +-
|
||||||
|
tests/test_inspect.py | 9 +++++++++
|
||||||
|
2 files changed, 10 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/CHANGELOG.md b/CHANGELOG.md
|
||||||
|
index 17f3028..1a75bf3 100644
|
||||||
|
--- a/CHANGELOG.md
|
||||||
|
+++ b/CHANGELOG.md
|
||||||
|
@@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
-- Fixed `test_syntax.py::test_from_path_lexer_override` test failure on PyPy3 https://github.com/Textualize/rich/pull/1904
|
||||||
|
+- Fixed test failures on PyPy3 https://github.com/Textualize/rich/pull/1904
|
||||||
|
|
||||||
|
## [11.1.0] - 2022-01-28
|
||||||
|
|
||||||
|
diff --git a/tests/test_inspect.py b/tests/test_inspect.py
|
||||||
|
index 63c5f06..b4c1d2a 100644
|
||||||
|
--- a/tests/test_inspect.py
|
||||||
|
+++ b/tests/test_inspect.py
|
||||||
|
@@ -32,6 +32,11 @@ skip_py310 = pytest.mark.skipif(
|
||||||
|
reason="rendered differently on py3.10",
|
||||||
|
)
|
||||||
|
|
||||||
|
+skip_pypy3 = pytest.mark.skipif(
|
||||||
|
+ hasattr(sys, "pypy_version_info"),
|
||||||
|
+ reason="rendered differently on pypy3",
|
||||||
|
+)
|
||||||
|
+
|
||||||
|
|
||||||
|
def render(obj, methods=False, value=False, width=50) -> str:
|
||||||
|
console = Console(file=io.StringIO(), width=width, legacy_windows=False)
|
||||||
|
@@ -81,6 +86,7 @@ def test_render():
|
||||||
|
assert expected == result
|
||||||
|
|
||||||
|
|
||||||
|
+@skip_pypy3
|
||||||
|
def test_inspect_text():
|
||||||
|
expected = (
|
||||||
|
"╭──────────────── <class 'str'> ─────────────────╮\n"
|
||||||
|
@@ -98,6 +104,7 @@ def test_inspect_text():
|
||||||
|
|
||||||
|
@skip_py36
|
||||||
|
@skip_py37
|
||||||
|
+@skip_pypy3
|
||||||
|
def test_inspect_empty_dict():
|
||||||
|
expected = (
|
||||||
|
"╭──────────────── <class 'dict'> ────────────────╮\n"
|
||||||
|
@@ -119,6 +126,7 @@ def test_inspect_empty_dict():
|
||||||
|
assert render({}).startswith(expected)
|
||||||
|
|
||||||
|
|
||||||
|
+@skip_pypy3
|
||||||
|
def test_inspect_builtin_function():
|
||||||
|
expected = (
|
||||||
|
"╭────────── <built-in function print> ───────────╮\n"
|
||||||
|
@@ -237,6 +245,7 @@ def test_inspect_integer_with_methods():
|
||||||
|
|
||||||
|
@skip_py36
|
||||||
|
@skip_py37
|
||||||
|
+@skip_pypy3
|
||||||
|
def test_broken_call_attr():
|
||||||
|
class NotCallable:
|
||||||
|
__call__ = 5 # Passes callable() but isn't really callable
|
||||||
|
--
|
||||||
|
2.35.1
|
||||||
|
|
@ -1,6 +1,8 @@
|
|||||||
AUX xarray-0.19.0-riscv_tests_datetime.patch 1832 BLAKE2B bd38f8d95e67d8c44a17db4283b0e2c8d7b1a87ea2d4c96dd65e186b99d453d4cf3f5b52d70e2077648612c44b9fa26a0f44740f89fa23000bf7f88ac5dec7cf SHA512 40be0dd9969e21dfb6d6183d1aaa18ead960c6aa4888a10b6636bd3ab05d5995fd95c18fd87b95de535b36d0c0bd90302e9e781229407f25c7c68b25042d197c
|
AUX xarray-0.19.0-riscv_tests_datetime.patch 1832 BLAKE2B bd38f8d95e67d8c44a17db4283b0e2c8d7b1a87ea2d4c96dd65e186b99d453d4cf3f5b52d70e2077648612c44b9fa26a0f44740f89fa23000bf7f88ac5dec7cf SHA512 40be0dd9969e21dfb6d6183d1aaa18ead960c6aa4888a10b6636bd3ab05d5995fd95c18fd87b95de535b36d0c0bd90302e9e781229407f25c7c68b25042d197c
|
||||||
DIST xarray-0.20.2.tar.gz 2906021 BLAKE2B 08ed46a27ce66ec1677e63000d74ecc4a01defa81b8ae1ec24595ff330713bf3e5585adce541e5e6769a74d64a4f5eb9d9aad27450e8088973681d0d60d00f83 SHA512 cd292af68ffd8016e01021e30a2ea83dd36e2f79bd9c3d8e7d83adc5a98a95615091d0102a19a0e3337ae334a701f575a142f476d1465804c8d5fe259ca35f1a
|
DIST xarray-0.20.2.tar.gz 2906021 BLAKE2B 08ed46a27ce66ec1677e63000d74ecc4a01defa81b8ae1ec24595ff330713bf3e5585adce541e5e6769a74d64a4f5eb9d9aad27450e8088973681d0d60d00f83 SHA512 cd292af68ffd8016e01021e30a2ea83dd36e2f79bd9c3d8e7d83adc5a98a95615091d0102a19a0e3337ae334a701f575a142f476d1465804c8d5fe259ca35f1a
|
||||||
DIST xarray-0.21.0.tar.gz 2937088 BLAKE2B b40d57cbb018e563b92afef1e5208bb597bf8ae892b154f49e90079977c05ab955ba07f136fcf3f456efa8deb70ffd2590dd2d2429b6114a418882b8d96b535f SHA512 85461b86ced78ad5cfd1ace122f1ab89f779a8c0c7e8d0f06233b4654c5f6bcb081eeddc91e5df1c8c40c344d2477f2f18799858e23294c0929e8e59445508b0
|
DIST xarray-0.21.0.tar.gz 2937088 BLAKE2B b40d57cbb018e563b92afef1e5208bb597bf8ae892b154f49e90079977c05ab955ba07f136fcf3f456efa8deb70ffd2590dd2d2429b6114a418882b8d96b535f SHA512 85461b86ced78ad5cfd1ace122f1ab89f779a8c0c7e8d0f06233b4654c5f6bcb081eeddc91e5df1c8c40c344d2477f2f18799858e23294c0929e8e59445508b0
|
||||||
|
DIST xarray-0.21.1.tar.gz 2936861 BLAKE2B 4d419185a6c49f8054f43748fd7a0ba9694aa9e7377e371705dd6eceea84f5d611d445a7548a79133f8db4c65729c9b5f694ab586d5e2f55640a6369483e3df4 SHA512 be5d925971557f492c8ca7e90eb678a0f98cf0a670eaa8a8564bd160a02fcd8a22362a8691c5447a9baaa67b464257f2ab6954747296839b304f3e25cf13487a
|
||||||
EBUILD xarray-0.20.2.ebuild 1082 BLAKE2B 9cec6781e283b773d2fc7cfb74a207647f094815101976d84d85d8a20cee06bf8cdb001669e7b33e02cf6108a421a92902a6f471d5f61b7417679188a3fdc618 SHA512 1105213e037c230861494b87a81ee0a9f9f24f88551d114361fe45a360a61ea1f8c106ef7f409c5f49ed614a3f95ddcfb6feacd64741cbdb0db750cc1ac7db93
|
EBUILD xarray-0.20.2.ebuild 1082 BLAKE2B 9cec6781e283b773d2fc7cfb74a207647f094815101976d84d85d8a20cee06bf8cdb001669e7b33e02cf6108a421a92902a6f471d5f61b7417679188a3fdc618 SHA512 1105213e037c230861494b87a81ee0a9f9f24f88551d114361fe45a360a61ea1f8c106ef7f409c5f49ed614a3f95ddcfb6feacd64741cbdb0db750cc1ac7db93
|
||||||
EBUILD xarray-0.21.0.ebuild 1199 BLAKE2B 39e238ffc47c27cbcaec5aa30f53c2a406b45c592e533244c05921fd596aa62bc6bb8703416bd9b2487f7e971fdeb6f22cb7213c77f454a1f378531a832b31f3 SHA512 a4f4e26afac89d44a83dd11425392136680a4441276f0ede9d7c95b58c776aff0a02dd00c0df632e50374c065e996787fe6a610a481ca6a7c8da982565fe3eec
|
EBUILD xarray-0.21.0.ebuild 1199 BLAKE2B 39e238ffc47c27cbcaec5aa30f53c2a406b45c592e533244c05921fd596aa62bc6bb8703416bd9b2487f7e971fdeb6f22cb7213c77f454a1f378531a832b31f3 SHA512 a4f4e26afac89d44a83dd11425392136680a4441276f0ede9d7c95b58c776aff0a02dd00c0df632e50374c065e996787fe6a610a481ca6a7c8da982565fe3eec
|
||||||
|
EBUILD xarray-0.21.1.ebuild 1161 BLAKE2B 032c3a27823bfc46b72aaa71835870b1ec1c5a76358bff191bcf41432d46d600a3213ca3ab2221c8ed02a9f070672a06072de2276be9b3c12d10575ef8091146 SHA512 a95aee44d33da4f09f73ab56d55cac002c20a6a331175f604300d45562da9abedd681fa64e9c1315a79dc72b1fde64d0a067d273e9afaae59ee2b229e631575a
|
||||||
MISC metadata.xml 509 BLAKE2B d470cc092eb055215a5868c22f9ec458057cfad600357fa1f658ed4537a6a6f68bda1422c4a665f1963ce0a6049e691befc3ca4baa60cc898364ad5f18164979 SHA512 602755896a3655295058afc8543a4bb64192d5c625f2edd86291c1f23d171f051a4238466163c2d469874aff3e68770fc76177e720870492266fb14e6faf6ce7
|
MISC metadata.xml 509 BLAKE2B d470cc092eb055215a5868c22f9ec458057cfad600357fa1f658ed4537a6a6f68bda1422c4a665f1963ce0a6049e691befc3ca4baa60cc898364ad5f18164979 SHA512 602755896a3655295058afc8543a4bb64192d5c625f2edd86291c1f23d171f051a4238466163c2d469874aff3e68770fc76177e720870492266fb14e6faf6ce7
|
||||||
|
@ -0,0 +1,42 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="N-D labeled arrays and datasets in Python"
|
||||||
|
HOMEPAGE="https://xarray.pydata.org/"
|
||||||
|
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/numpy-1.18[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pandas-1.1[${PYTHON_USEDEP}]
|
||||||
|
dev-python/packaging[${PYTHON_USEDEP}]"
|
||||||
|
# note: most of test dependencies are optional
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/bottleneck[${PYTHON_USEDEP}]
|
||||||
|
dev-python/hypothesis[${PYTHON_USEDEP}]
|
||||||
|
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||||
|
dev-python/toolz[${PYTHON_USEDEP}]
|
||||||
|
!hppa? ( >=dev-python/scipy-1.4[${PYTHON_USEDEP}] )
|
||||||
|
)"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-0.19.0-riscv_tests_datetime.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
EPYTEST_DESELECT=(
|
||||||
|
# warning-targeted tests are fragile and not important to end users
|
||||||
|
xarray/tests/test_backends.py::test_no_warning_from_dask_effective_get
|
||||||
|
)
|
@ -1,3 +1,5 @@
|
|||||||
DIST python-zeroconf-0.38.1.gh.tar.gz 133094 BLAKE2B dae802e19b8b9488fc71cf482578be53c99bbb58580de987522e068b8d4042ac093225035bf5f7c2318c9a90bf5404e42f315cae095b0b4455ebd769facdcd81 SHA512 c60f03100c83e9327a910ad84aec768fb890453c21f9baf0fbbec96f0077c602c5e806e8a6047b87108f6d257942305a2ce76c984935ed3c000d83d2c44bb8d6
|
DIST python-zeroconf-0.38.1.gh.tar.gz 133094 BLAKE2B dae802e19b8b9488fc71cf482578be53c99bbb58580de987522e068b8d4042ac093225035bf5f7c2318c9a90bf5404e42f315cae095b0b4455ebd769facdcd81 SHA512 c60f03100c83e9327a910ad84aec768fb890453c21f9baf0fbbec96f0077c602c5e806e8a6047b87108f6d257942305a2ce76c984935ed3c000d83d2c44bb8d6
|
||||||
|
DIST python-zeroconf-0.38.3.gh.tar.gz 133187 BLAKE2B 2058a4e8b772b49e1e6c3dd55ca1ef1f73630724d22a253d7f14f63a361e58cff24a700dfdeeaac5ca1bed43490865885dbd8956ee58924b4f9b0c4ae3351131 SHA512 30adeb1d2dfb317224a78a7f23b64da6449b9f2e64bfebf6155711f65fb302327cb78c98afd646ae167f1fbda41b8a6c927f0d36278d266583bc5369af70f8e5
|
||||||
EBUILD zeroconf-0.38.1.ebuild 1099 BLAKE2B 1b4049225401fd55e519864da1205afe8a2a62f4a250a8ec1efe46c3ac3813bc69c747ab18c4c4c1f9e0908b0639bf8a88e9cb8ff1cf5d5be485704c8b18d8ce SHA512 bf53bab963722c36261a2154626eefe1fcd62abc8a3aa7a6a325b9fd0f4bc84d31b8c8eb128ddc19f95cff28ff7e409ff90b6aca451850a795c2cade60a3aca9
|
EBUILD zeroconf-0.38.1.ebuild 1099 BLAKE2B 1b4049225401fd55e519864da1205afe8a2a62f4a250a8ec1efe46c3ac3813bc69c747ab18c4c4c1f9e0908b0639bf8a88e9cb8ff1cf5d5be485704c8b18d8ce SHA512 bf53bab963722c36261a2154626eefe1fcd62abc8a3aa7a6a325b9fd0f4bc84d31b8c8eb128ddc19f95cff28ff7e409ff90b6aca451850a795c2cade60a3aca9
|
||||||
|
EBUILD zeroconf-0.38.3.ebuild 1134 BLAKE2B 8ba3fe024b9a0570bef7277bedd95ed8d9cfd676f3086aa0b8a6e77fab730b3976608f1d87edaa9ecbaf972e5f141dced01d48c106244e9b20a3482de2836d57 SHA512 e29bf59dc70c614f5dc0b7b09782a5d07f8f1ef6754334e7124b6c83c1461a3c4ad6083f6ec7374808fe2cdfee9e57d5a3972dd6dcaef686efb9e196fe14d7b4
|
||||||
MISC metadata.xml 413 BLAKE2B f93eceda07029400d2fd7ab38f234e5a1747e3d86f228adc973bbd6cdc71456778a7d926457f976cb2c6f55678b2c671d2415e5c7a480306582f1e70f6f733dc SHA512 d228e198b2f495dd02cd3d9d948aae123461c70c8e0185a47b133000f0316a84ff33d9b6f4cc0196bca5cf638e53ae58a3cd746338c33729d957a1170a5f08dd
|
MISC metadata.xml 413 BLAKE2B f93eceda07029400d2fd7ab38f234e5a1747e3d86f228adc973bbd6cdc71456778a7d926457f976cb2c6f55678b2c671d2415e5c7a480306582f1e70f6f733dc SHA512 d228e198b2f495dd02cd3d9d948aae123461c70c8e0185a47b133000f0316a84ff33d9b6f4cc0196bca5cf638e53ae58a3cd746338c33729d957a1170a5f08dd
|
||||||
|
@ -0,0 +1,37 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
MY_P=python-zeroconf-${PV}
|
||||||
|
DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/jstasiak/python-zeroconf/
|
||||||
|
https://pypi.org/project/zeroconf/"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/jstasiak/python-zeroconf/archive/${PV}.tar.gz
|
||||||
|
-> ${MY_P}.gh.tar.gz"
|
||||||
|
S=${WORKDIR}/${MY_P}
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
|
||||||
|
RDEPEND=">=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
EPYTEST_DESELECT=(
|
||||||
|
# network
|
||||||
|
tests/test_core.py::Framework::test_close_multiple_times
|
||||||
|
tests/test_core.py::Framework::test_launch_and_close
|
||||||
|
tests/test_core.py::Framework::test_launch_and_close_context_manager
|
||||||
|
tests/test_core.py::Framework::test_launch_and_close_v4_v6
|
||||||
|
tests/test_core.py::Framework::test_launch_and_close_v6_only
|
||||||
|
tests/services/test_types.py::ServiceTypesQuery::test_integration_with_listener_ipv6
|
||||||
|
)
|
Binary file not shown.
@ -1,3 +1,3 @@
|
|||||||
DIST localhost-1.1.9.tar.gz 2125545 BLAKE2B 5843b3857a11d9f56412f67cb15e424332b07cf81a29ae0a05a3ff20c6f06af56f6a02d8315f97c2d57fe76f7359c737cf19f116868ff532ac083070430fa22e SHA512 d46fd016957fd34309d50488dc61f23e9d47a5a6bfdeda5c049f6ffc112c13cd21394ada3e15c56f14913cba6ab503f60e32237431f7ff824fbbab8cd8a2d746
|
DIST localhost-1.1.9.tar.gz 2125545 BLAKE2B 5843b3857a11d9f56412f67cb15e424332b07cf81a29ae0a05a3ff20c6f06af56f6a02d8315f97c2d57fe76f7359c737cf19f116868ff532ac083070430fa22e SHA512 d46fd016957fd34309d50488dc61f23e9d47a5a6bfdeda5c049f6ffc112c13cd21394ada3e15c56f14913cba6ab503f60e32237431f7ff824fbbab8cd8a2d746
|
||||||
EBUILD localhost-1.1.9.ebuild 911 BLAKE2B 610c19bd7fec0ee52a12a0dc61049c053f91e9f89dd53c44113dcd43672b000026e9b42af036045c964981fa216a92d9a6e2b972541dd3aad67d19a67fd6cf12 SHA512 c1919faf24fb65f192aca2b26eb723bf59f729eca88d76241ace02dff574935eb4adf10ce3b4de5043a6c6e1952437388d936cb9a75a75cb9838b5f1b87fa369
|
EBUILD localhost-1.1.9.ebuild 909 BLAKE2B cec45b1885571e5067c670ed4a4bf1e5e14a51535257437c4371a3421c47f40db6a8e68e2fff8b8518d2b5719e65fcce0719f8620f878cb0784a7613c5048298 SHA512 3385b937271669d0a00eff1bccfb52102763d927a6ed238cd39be221b10e372936fc3f97f1a908a21897fc31a133a78fb64deb25f5399e0f877a3e3b379cc9cf
|
||||||
MISC metadata.xml 248 BLAKE2B 0c876bde3c72e61d28284a95a837103e6d594c9f6fccbd6d7d1039f9c5a604347c20c334c9a57d80b152888fed536196f2807b477e8d0336c80affb0e28c9dc9 SHA512 b2b64178cf6cbbaa5fb4671ffe1ab88b83c920de363ae099ef74fa3e5eb8c8f0285c749cabc0cebf344951503d1b7309ae294afe9e7cf5172700182d8843fa14
|
MISC metadata.xml 248 BLAKE2B 0c876bde3c72e61d28284a95a837103e6d594c9f6fccbd6d7d1039f9c5a604347c20c334c9a57d80b152888fed536196f2807b477e8d0336c80affb0e28c9dc9 SHA512 b2b64178cf6cbbaa5fb4671ffe1ab88b83c920de363ae099ef74fa3e5eb8c8f0285c749cabc0cebf344951503d1b7309ae294afe9e7cf5172700182d8843fa14
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1,10 +1,13 @@
|
|||||||
AUX minetest-5.4.1-gcc11.patch 605 BLAKE2B d067b6bf6250fa9928c01220fb0da2c8ffc093c949840767db6cf2b84fbe889fd9ed2546c953048d02116f015a279622c1ada29ce1df6e3b254b0d0e9e56083d SHA512 f42b8c3c38b40a9f22eca7947360ae4d786ff0775f46b4184c3fe014b64958c89828bae314acd8bfe99246a452c818527b5d3c5c1c0b813ed0a82c43b915125b
|
AUX minetest-5.4.1-gcc11.patch 605 BLAKE2B d067b6bf6250fa9928c01220fb0da2c8ffc093c949840767db6cf2b84fbe889fd9ed2546c953048d02116f015a279622c1ada29ce1df6e3b254b0d0e9e56083d SHA512 f42b8c3c38b40a9f22eca7947360ae4d786ff0775f46b4184c3fe014b64958c89828bae314acd8bfe99246a452c818527b5d3c5c1c0b813ed0a82c43b915125b
|
||||||
AUX minetest-5.4.1-system_puc_lua.patch 1285 BLAKE2B 773466b132d1e7fdcd2108c7cae9d7538d02319140c91c87b5533c4225fe64077a4400cdddbfa0d96b256fad54ef7b92a5239036789b2af3a57365ac0a305808 SHA512 acb1ddb7e156324b3e4aea2807ba7b708b563bcf70208bad672a1777eb116dd7c812fcd420cdfb3a08b9b3fe4adf8a56b51ee2827439a058a78e8ffc4cb07ea4
|
AUX minetest-5.4.1-system_puc_lua.patch 1285 BLAKE2B 773466b132d1e7fdcd2108c7cae9d7538d02319140c91c87b5533c4225fe64077a4400cdddbfa0d96b256fad54ef7b92a5239036789b2af3a57365ac0a305808 SHA512 acb1ddb7e156324b3e4aea2807ba7b708b563bcf70208bad672a1777eb116dd7c812fcd420cdfb3a08b9b3fe4adf8a56b51ee2827439a058a78e8ffc4cb07ea4
|
||||||
|
AUX minetest-5.5.0-bundled_luabitop.patch 740 BLAKE2B 91f86c47f17572d1bf27be5012cff147eea6625683d4cb5f285f2da72a541a0f5cf3128f0cf4b9514bf0b4f9a27673f5c989dfb4757d4142b8f24ccb29df6918 SHA512 6bdfdb6a1e022a66c67aa1e2314ed1f4e6791f4901a811e63606116c7e4058e801d1fb772a1f75378c8404e8085cc072b6987b867b45bb0c10b5bed01e6779ff
|
||||||
AUX minetestserver.confd 310 BLAKE2B b5af3f5e87622fc3e1739f3972b32a3f83fa720476d7398ce55657b2e4d2dc8693748720aa422724b40a1309f79158b37ba9628061db31db3e5757a73c122205 SHA512 4905fb8446d82bdd7ccffcd6f0c2f85de9843107f10d21d73814f54587aab5f6c7716a78bc32cd82c8b7d8443f0492a3a7b5e47d10f2900349047b6ba7ceb2f3
|
AUX minetestserver.confd 310 BLAKE2B b5af3f5e87622fc3e1739f3972b32a3f83fa720476d7398ce55657b2e4d2dc8693748720aa422724b40a1309f79158b37ba9628061db31db3e5757a73c122205 SHA512 4905fb8446d82bdd7ccffcd6f0c2f85de9843107f10d21d73814f54587aab5f6c7716a78bc32cd82c8b7d8443f0492a3a7b5e47d10f2900349047b6ba7ceb2f3
|
||||||
AUX minetestserver.initd 555 BLAKE2B 307f310338ded815dc8a6f8ba29d51ae77ef94a1530125ad82ab3b7dc6d9a1b8a40a48b6dfb53d17230418bc8e5e05ffe5493c897150a853338fb01c8ef21b5b SHA512 b9103841e18586e9877b1a1b7fc9510545d02b947d5558cfee79de09a8c770767aeeb1b29b35bd47bf3670d739996a782f347f2274a94f3b3a9435d37ba566f1
|
AUX minetestserver.initd 555 BLAKE2B 307f310338ded815dc8a6f8ba29d51ae77ef94a1530125ad82ab3b7dc6d9a1b8a40a48b6dfb53d17230418bc8e5e05ffe5493c897150a853338fb01c8ef21b5b SHA512 b9103841e18586e9877b1a1b7fc9510545d02b947d5558cfee79de09a8c770767aeeb1b29b35bd47bf3670d739996a782f347f2274a94f3b3a9435d37ba566f1
|
||||||
AUX minetestserver.logrotate 71 BLAKE2B 9189610adc6e78be5249163e3daa02ebcb73822bed9939df3a807ec47e753e9952b3ac7932327164ae5dcf1ef149f55fdb898b1818412b994572f8ef6b4615e4 SHA512 82de44aa5670113d6a244c7cc662e6f4001510c6766490375f226d2abd4d7749310e8a21d282408a711478bf8449ab15036d9a914657e2ca4699395d32d8b21b
|
AUX minetestserver.logrotate 71 BLAKE2B 9189610adc6e78be5249163e3daa02ebcb73822bed9939df3a807ec47e753e9952b3ac7932327164ae5dcf1ef149f55fdb898b1818412b994572f8ef6b4615e4 SHA512 82de44aa5670113d6a244c7cc662e6f4001510c6766490375f226d2abd4d7749310e8a21d282408a711478bf8449ab15036d9a914657e2ca4699395d32d8b21b
|
||||||
AUX minetestserver_default.service 371 BLAKE2B a52989d01e7df20facac1796079e38d2145e72eb43868f19ba7ea573cf025d4aea346f7ddfc5e7001d70c6d43609d877be5af95956cc344df2b5c7e318bf07f1 SHA512 dbca1a2cc4b615310ff179f4fb803e05d856e04d8316c9d30807d12788b41e8f1ef87f510ff2db0114237a8d0640c3af3d31cc77a2bd23395e247d86710606e9
|
AUX minetestserver_default.service 371 BLAKE2B a52989d01e7df20facac1796079e38d2145e72eb43868f19ba7ea573cf025d4aea346f7ddfc5e7001d70c6d43609d877be5af95956cc344df2b5c7e318bf07f1 SHA512 dbca1a2cc4b615310ff179f4fb803e05d856e04d8316c9d30807d12788b41e8f1ef87f510ff2db0114237a8d0640c3af3d31cc77a2bd23395e247d86710606e9
|
||||||
AUX minetestserver_template.service 353 BLAKE2B 8f4231481a23c1ef29523533955e373b50669d6a61a818fe5c36b29be54ec21669f6c0e17ea6675795eb2630be08dcb053ae1843789d615dddb1664ec96f6c55 SHA512 ff9584b709df5f8f6a8544954da7a6ef593ac0b8bad2352a459c6eb97c684104f47708952882bf6b7216b7636328a1ff533b97bbc08cd300f1a47d2af71ac895
|
AUX minetestserver_template.service 353 BLAKE2B 8f4231481a23c1ef29523533955e373b50669d6a61a818fe5c36b29be54ec21669f6c0e17ea6675795eb2630be08dcb053ae1843789d615dddb1664ec96f6c55 SHA512 ff9584b709df5f8f6a8544954da7a6ef593ac0b8bad2352a459c6eb97c684104f47708952882bf6b7216b7636328a1ff533b97bbc08cd300f1a47d2af71ac895
|
||||||
DIST minetest-5.4.1.tar.gz 11209289 BLAKE2B a8517309ee98c3991e7ce2d67bb8d14a5697a299b480835c79b1e3c7161ebc94f6245f36c09d88903c052fca1de52fe0253f055059c3d72745c724d117d9753a SHA512 8f9985c6a658c868ed8971f112eae3c71c2b1535fd433689920be6d42ac2c7eb8453d58ec2825573764ee2f56b651c5e27895b7fd58fada61fbaf4758fc69471
|
DIST minetest-5.4.1.tar.gz 11209289 BLAKE2B a8517309ee98c3991e7ce2d67bb8d14a5697a299b480835c79b1e3c7161ebc94f6245f36c09d88903c052fca1de52fe0253f055059c3d72745c724d117d9753a SHA512 8f9985c6a658c868ed8971f112eae3c71c2b1535fd433689920be6d42ac2c7eb8453d58ec2825573764ee2f56b651c5e27895b7fd58fada61fbaf4758fc69471
|
||||||
|
DIST minetest-5.5.0.tar.gz 9558895 BLAKE2B 13db90556a4faaac31cca7427fb85439cab144d73f25b79ae9f8367883b0fafa39c39fe0e40f3734d7e3f48cef4942a37a302cf58993707a14024905d8ed9b61 SHA512 9c744eac2704457d6896485997666d614dd156214dae26c2cb413771fd3eab54d80731a5220bcc4a18ddc737db64971893a3c89a56a46020adf8d00aad299817
|
||||||
EBUILD minetest-5.4.1-r1.ebuild 3478 BLAKE2B cb5f11ed5e8b8c0339570af29fd126f75b4f084f0910cd692870c797ecb3ae0349bc26db743cbd911d4d2fd01aedb5ccce4fa6c043ac07d421a7054a20522232 SHA512 3eb3ace3d2f20f457b2460c7a2a28720534a69454337db9ea3089e1b56bee74b267a1745fc1e13ea4e6cba6403de2aebdcccfdb9138443f49462377b76111cc7
|
EBUILD minetest-5.4.1-r1.ebuild 3478 BLAKE2B cb5f11ed5e8b8c0339570af29fd126f75b4f084f0910cd692870c797ecb3ae0349bc26db743cbd911d4d2fd01aedb5ccce4fa6c043ac07d421a7054a20522232 SHA512 3eb3ace3d2f20f457b2460c7a2a28720534a69454337db9ea3089e1b56bee74b267a1745fc1e13ea4e6cba6403de2aebdcccfdb9138443f49462377b76111cc7
|
||||||
|
EBUILD minetest-5.5.0.ebuild 3463 BLAKE2B a91b8486891ee45266e45978615d89238aeec189eaac91708acc12b18a5c8a88cb293d26f06409224bbb8dbd4b664f20b582e0b650fad507adc9b9dec9ae2693 SHA512 c24c159b44f82a19a8bedbae2493868d28769aaca8214ef4421f1be6ad89c51e520726fde4d0b6b12065ea447f143b5dd80903da30d44453e05f8844310e5c8c
|
||||||
MISC metadata.xml 2174 BLAKE2B ad72184bd3f52d94304fb316d325478b03a5751d564174deac0eec4d05dce67f55dabc0e7c0788f9221318ac453802be552a711e35c60cce7f8396afb5fc7a9c SHA512 e3d99fa37f56133a051d8369ee5c8bc60a8e7159683cf11fba95470ff2e00acd2c3987b3d261641e2508a9f8f409e2f7249167a4226f490152ac35e58b476b1b
|
MISC metadata.xml 2174 BLAKE2B ad72184bd3f52d94304fb316d325478b03a5751d564174deac0eec4d05dce67f55dabc0e7c0788f9221318ac453802be552a711e35c60cce7f8396afb5fc7a9c SHA512 e3d99fa37f56133a051d8369ee5c8bc60a8e7159683cf11fba95470ff2e00acd2c3987b3d261641e2508a9f8f409e2f7249167a4226f490152ac35e58b476b1b
|
||||||
|
@ -0,0 +1,17 @@
|
|||||||
|
When built against PUC Lua, minetest binaries get linked against
|
||||||
|
a customised version of LuaBitOp which then gets installed
|
||||||
|
as /usr/$(get_libdir)/libbitop.so. This violates the policies of both
|
||||||
|
Gentoo (unversioned shared library) and Lua itself (compiled extensions
|
||||||
|
should be installed into implementation-specific directories rather than
|
||||||
|
top-level libdir, and I'm pretty sure linking against such extensions
|
||||||
|
is a no-no). Switching to system dev-lua/LuaBitOp will require work
|
||||||
|
so just make the customised version static for now.
|
||||||
|
|
||||||
|
--- a/lib/bitop/CMakeLists.txt
|
||||||
|
+++ b/lib/bitop/CMakeLists.txt
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-add_library(bitop bit.c)
|
||||||
|
+add_library(bitop STATIC bit.c)
|
||||||
|
target_link_libraries(bitop)
|
||||||
|
|
||||||
|
include_directories(${LUA_INCLUDE_DIR})
|
@ -0,0 +1,142 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
LUA_COMPAT=( lua5-1 luajit )
|
||||||
|
|
||||||
|
inherit cmake flag-o-matic lua-single systemd xdg
|
||||||
|
|
||||||
|
DESCRIPTION="A free open-source voxel game engine with easy modding and game creation"
|
||||||
|
HOMEPAGE="https://www.minetest.net"
|
||||||
|
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1+ CC-BY-SA-3.0 OFL-1.1 Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~riscv"
|
||||||
|
IUSE="+client +curl doc leveldb ncurses nls postgres prometheus redis +server +sound spatial test"
|
||||||
|
|
||||||
|
REQUIRED_USE="${LUA_REQUIRED_USE}
|
||||||
|
|| ( client server )"
|
||||||
|
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="${LUA_DEPS}
|
||||||
|
$(lua_gen_impl_dep 'deprecated' lua5-1)
|
||||||
|
app-arch/zstd
|
||||||
|
dev-db/sqlite:3
|
||||||
|
>=dev-games/irrlicht-mt-1.9.0.4
|
||||||
|
dev-libs/gmp:0=
|
||||||
|
dev-libs/jsoncpp:=
|
||||||
|
sys-libs/zlib
|
||||||
|
client? (
|
||||||
|
media-libs/freetype:2
|
||||||
|
media-libs/libpng:0=
|
||||||
|
virtual/jpeg:0
|
||||||
|
virtual/opengl
|
||||||
|
x11-libs/libX11
|
||||||
|
x11-libs/libXxf86vm
|
||||||
|
sound? (
|
||||||
|
media-libs/libvorbis
|
||||||
|
media-libs/openal
|
||||||
|
)
|
||||||
|
)
|
||||||
|
curl? ( net-misc/curl )
|
||||||
|
leveldb? ( dev-libs/leveldb:= )
|
||||||
|
ncurses? ( sys-libs/ncurses:0= )
|
||||||
|
nls? ( virtual/libintl )
|
||||||
|
postgres? ( >=dev-db/postgresql-9.5:= )
|
||||||
|
prometheus? ( dev-cpp/prometheus-cpp )
|
||||||
|
redis? ( dev-libs/hiredis:= )
|
||||||
|
server? (
|
||||||
|
acct-group/minetest
|
||||||
|
acct-user/minetest
|
||||||
|
)
|
||||||
|
spatial? ( sci-libs/libspatialindex:= )"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="
|
||||||
|
doc? (
|
||||||
|
app-doc/doxygen
|
||||||
|
media-gfx/graphviz
|
||||||
|
)
|
||||||
|
nls? ( sys-devel/gettext )"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-5.4.1-system_puc_lua.patch
|
||||||
|
"${FILESDIR}"/${PN}-5.5.0-bundled_luabitop.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
cmake_src_prepare
|
||||||
|
|
||||||
|
# remove bundled libraries other than bitop
|
||||||
|
rm -rf lib/{gmp,jsoncpp,lua} || die
|
||||||
|
|
||||||
|
# To avoid TEXTRELs on riscv
|
||||||
|
append-flags -fPIC
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DBUILD_CLIENT=$(usex client)
|
||||||
|
-DBUILD_SERVER=$(usex server)
|
||||||
|
-DBUILD_UNITTESTS=$(usex test)
|
||||||
|
-DCUSTOM_BINDIR="${EPREFIX}/usr/bin"
|
||||||
|
-DCUSTOM_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
|
||||||
|
-DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/doc/${PF}"
|
||||||
|
-DCUSTOM_LOCALEDIR="${EPREFIX}/usr/share/${PN}/locale"
|
||||||
|
-DCUSTOM_MANDIR="${EPREFIX}/usr/share/man"
|
||||||
|
-DCUSTOM_SHAREDIR="${EPREFIX}/usr/share/${PN}"
|
||||||
|
-DENABLE_CURL=$(usex curl)
|
||||||
|
-DENABLE_CURSES=$(usex ncurses)
|
||||||
|
-DENABLE_GETTEXT=$(usex nls)
|
||||||
|
-DENABLE_GLES=no
|
||||||
|
-DENABLE_LEVELDB=$(usex leveldb)
|
||||||
|
-DENABLE_LUAJIT=$(usex lua_single_target_luajit)
|
||||||
|
-DENABLE_POSTGRESQL=$(usex postgres)
|
||||||
|
-DENABLE_PROMETHEUS=$(usex prometheus)
|
||||||
|
-DENABLE_REDIS=$(usex redis)
|
||||||
|
-DENABLE_SPATIAL=$(usex spatial)
|
||||||
|
-DENABLE_SOUND=$(usex sound)
|
||||||
|
-DENABLE_SYSTEM_GMP=1
|
||||||
|
-DENABLE_SYSTEM_JSONCPP=1
|
||||||
|
-DRUN_IN_PLACE=0
|
||||||
|
)
|
||||||
|
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
cmake_src_compile
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
cmake_src_compile doc
|
||||||
|
HTML_DOCS=( "${BUILD_DIR}"/doc/html/. )
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cmake_src_install
|
||||||
|
|
||||||
|
if use server; then
|
||||||
|
keepdir /etc/minetest
|
||||||
|
fowners root:minetest /etc/minetest
|
||||||
|
fperms 2750 /etc/minetest
|
||||||
|
|
||||||
|
keepdir /var/log/minetest
|
||||||
|
fowners minetest:minetest /var/log/minetest
|
||||||
|
|
||||||
|
newconfd "${FILESDIR}"/minetestserver.confd minetest-server
|
||||||
|
newinitd "${FILESDIR}"/minetestserver.initd minetest-server
|
||||||
|
|
||||||
|
systemd_newunit "${FILESDIR}"/minetestserver_default.service minetest-server.service
|
||||||
|
systemd_newunit "${FILESDIR}"/minetestserver_template.service minetest-server@.service
|
||||||
|
|
||||||
|
insinto /etc/logrotate.d
|
||||||
|
newins "${FILESDIR}"/minetestserver.logrotate minetest-server
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
xdg_pkg_postinst
|
||||||
|
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue