mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
dev-python/pymilter: new package, add 1.0.7_pre20251111, 9999
Signed-off-by: Eray Aslan <eras@gentoo.org>
This commit is contained in:
parent
91bc2ab716
commit
ff1d8fb33b
1
dev-python/pymilter/Manifest
Normal file
1
dev-python/pymilter/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST pymilter-1.0.7_pre20251111.tar.xz 986416 BLAKE2B 967c4dd6b795c5cf246b16c23ba07c29019f7384c117e5caa39e346459c96f0d0632f5cba25ec4731f05caaf9dfae5638e362eb413b163dbd608c31b3787a6de SHA512 9213a14cfe045eb92977086f3ac66b793c252a9f4548dc80462d8d6efc06674c9876873de4d9999b87f3ca0f1295f04f4e040f3fa2800b5a27f4504a8569ab8b
|
||||
16
dev-python/pymilter/metadata.xml
Normal file
16
dev-python/pymilter/metadata.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>eras@gentoo.org</email>
|
||||
<name>Eray Aslan</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>mjo@gentoo.org</email>
|
||||
<name>Michael Orlitzky</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">sdgathman/pymilter</remote-id>
|
||||
<remote-id type="pypi">pymilter</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
43
dev-python/pymilter/pymilter-1.0.7_pre20251111.ebuild
Normal file
43
dev-python/pymilter/pymilter-1.0.7_pre20251111.ebuild
Normal file
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2025 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_{12..14} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/sdgathman/pymilter.git"
|
||||
inherit git-r3
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
if [[ ${PV} == *_pre* ]]; then
|
||||
SRC_URI="https://dev.gentoo.org/~eras/distfiles/${P}.tar.xz"
|
||||
S="${WORKDIR}/pymilter"
|
||||
else
|
||||
inherit pypi
|
||||
fi
|
||||
fi
|
||||
|
||||
DESCRIPTION="module to enable python scripts to attach to Sendmail's libmilter API"
|
||||
HOMEPAGE="https://www.pymilter.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
mail-filter/libmilter:=
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
src_test() {
|
||||
# requires berkeleydb and bsddb3 modules
|
||||
sed -i -e "/s.addTest(testpolicy.suite())/d" \
|
||||
-e "/import testpolicy/d" test.py || die
|
||||
rm testpolicy.py
|
||||
distutils-r1_src_test
|
||||
}
|
||||
43
dev-python/pymilter/pymilter-9999.ebuild
Normal file
43
dev-python/pymilter/pymilter-9999.ebuild
Normal file
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2025 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_{12..14} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/sdgathman/pymilter.git"
|
||||
inherit git-r3
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
if [[ ${PV} == *_pre* ]]; then
|
||||
SRC_URI="https://dev.gentoo.org/~eras/distfiles/${P}.tar.xz"
|
||||
S="${WORKDIR}/pymilter"
|
||||
else
|
||||
inherit pypi
|
||||
fi
|
||||
fi
|
||||
|
||||
DESCRIPTION="module to enable python scripts to attach to Sendmail's libmilter API"
|
||||
HOMEPAGE="https://www.pymilter.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
mail-filter/libmilter:=
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
src_test() {
|
||||
# requires berkeleydb and bsddb3 modules
|
||||
sed -i -e "/s.addTest(testpolicy.suite())/d" \
|
||||
-e "/import testpolicy/d" test.py || die
|
||||
rm testpolicy.py
|
||||
distutils-r1_src_test
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user