mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-27 17:20:59 +02:00
Merge pull request #1907 from blshkv/master
javatoolkit: pypax, fork and add accept keywords for python 3.12 migration
This commit is contained in:
commit
71dd19e222
7 changed files with 128 additions and 0 deletions
1
dev-java/javatoolkit/Manifest
Normal file
1
dev-java/javatoolkit/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST javatoolkit-0.6.7.tar.bz2 24514 BLAKE2B 5da4c95ac561b71a3019c265a5233eb825f5f57ae35e1dfefccc2fc26a5c967dcf562c321ff61f6ad4d702f4f656927cf21fa32eadb2454b18444505ba16ae91 SHA512 34e9e9d08ed486f57bbb33bed437ff7e4bbdcb6ff8f57c338e787db0ca5688a27eaf9e21f47b5d245279c58cbdaeab0d61b469b3f176ab37a18f122123c885d0
|
||||
35
dev-java/javatoolkit/javatoolkit-0.6.7.ebuild
Normal file
35
dev-java/javatoolkit/javatoolkit-0.6.7.ebuild
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{9..12} )
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
#DISTUTILS_USE_SETUPTOOLS=no
|
||||
|
||||
inherit distutils-r1 prefix
|
||||
|
||||
DESCRIPTION="Collection of Gentoo-specific tools for Java"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Java"
|
||||
SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm arm64 ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
src_prepare(){
|
||||
# FIXME: don't install man files to a wrong location
|
||||
sed -i '/data_files/d' setup.py || die
|
||||
eapply_user
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
hprefixify src/py/buildparser src/py/findclass setup.py
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install \
|
||||
--install-scripts="${EPREFIX}"/usr/libexec/${PN}
|
||||
}
|
||||
13
dev-java/javatoolkit/metadata.xml
Normal file
13
dev-java/javatoolkit/metadata.xml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="gentoo">proj/javatoolkit</remote-id>
|
||||
<remote-id type="github">gentoo/javatoolkit</remote-id>
|
||||
</upstream>
|
||||
<stabilize-allarches/>
|
||||
</pkgmetadata>
|
||||
1
dev-python/pypax/Manifest
Normal file
1
dev-python/pypax/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST elfix-0.9.5.tar.gz 401722 BLAKE2B 184f8944c62412675819ca86f13bcf23039ebcf069df528267f3e4272859e6cc442a1e05a7a121d88987c282d7e2f513d02f28ce41a8e3c0c226b456fa256aa6 SHA512 e15ab664357796f3a63ac54912eb43ae659947088a10ef16aafcbdd713cc3670fb0319cb2b95a2d29092866d322ef69df1d63847dfc0c4ab2cdd49e6eaa4635e
|
||||
20
dev-python/pypax/metadata.xml
Normal file
20
dev-python/pypax/metadata.xml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>hardened@gentoo.org</email>
|
||||
<name>Gentoo Hardened</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="xtpax">Enable XATTR_PAX_FLAGS support.</flag>
|
||||
<flag name="ptpax">Enable PT_PAX_FLAGS support.</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="gentoo">proj/elfix</remote-id>
|
||||
<remote-id type="github">gentoo/elfix</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
47
dev-python/pypax/pypax-0.9.5-r1.ebuild
Normal file
47
dev-python/pypax/pypax-0.9.5-r1.ebuild
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{9..12} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ ${PV} == *9999* ]] ; then
|
||||
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/elfix.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://dev.gentoo.org/~blueness/elfix/elfix-${PV}.tar.gz"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
|
||||
S="${WORKDIR}/elfix-${PV}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Python module to get or set either PT_PAX and/or XATTR_PAX flags"
|
||||
HOMEPAGE="https://dev.gentoo.org/~blueness/elfix/
|
||||
https://wiki.gentoo.org/wiki/Project:Hardened/PaX_Quickstart"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="+ptpax +xtpax"
|
||||
REQUIRED_USE="|| ( ptpax xtpax )"
|
||||
|
||||
RDEPEND="
|
||||
ptpax? ( dev-libs/elfutils )
|
||||
xtpax? ( sys-apps/attr )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_compile() {
|
||||
cd scripts || die
|
||||
unset PTPAX
|
||||
unset XTPAX
|
||||
use ptpax && export PTPAX="yes"
|
||||
use xtpax && export XTPAX="yes"
|
||||
distutils-r1_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd scripts || die
|
||||
distutils-r1_src_install
|
||||
}
|
||||
|
|
@ -43,6 +43,17 @@ dev-python/pypsrp
|
|||
dev-python/lsassy
|
||||
dev-python/pywerview
|
||||
|
||||
############ Python 3.12 tmp =====================
|
||||
~net-fs/samba-4.19.6
|
||||
~sys-libs/ldb-2.8.0
|
||||
~sys-libs/talloc-2.4.1
|
||||
~sys-libs/tdb-1.4.9
|
||||
~sys-libs/tevent-0.15.0
|
||||
~net-fs/cifs-utils-7.0
|
||||
~net-dns/avahi-0.9_rc1
|
||||
|
||||
~dev-db/mongodb-5.0.26
|
||||
|
||||
############ Gentoo unstable ======================
|
||||
~dev-python/ldap3-2.7
|
||||
~dev-python/requests-credssp-2.0.0 ~amd64
|
||||
|
|
|
|||
Loading…
Reference in a new issue