ldapdomaindump

This commit is contained in:
Anton Bolshakov 2025-04-05 08:15:03 +08:00
parent 1471ec225e
commit 2027e070ba
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
4 changed files with 64 additions and 2 deletions

View file

@ -1 +1,2 @@
DIST ldapdomaindump-0.10.0.tar.gz 19445 BLAKE2B dd42fa634253f9c88721ea9b09e7cc4820c1e54ab47c14809d665f461d68113dc4a92589805babb77dd5f65d7117898f9d5c3448ddbc5afaf40acbe7033c8fac SHA512 6503f4f00b06edae916ad897891b6238dadbaba03b2380857a386dd3b0a0daa86220aceea29d4f632032bc25c8e953614b616bb97bb4535d74a69057b6edca0f
DIST ldapdomaindump-0.9.4_p20240213.gh.tar.gz 18224 BLAKE2B 5fde35be7097815de870e5cc73eddc4f667e9d666a883fb77d4a3b6a3cb7af337f4eed2a1719f4421fb9d9f59f9a518fbb434d6663d63b36cbd49d155fd424b9 SHA512 d692c4ac42fb55dfc74267980d4bc6736ee2909ec2e9ea3ef00af2683ec67f93b85cfe8e21c8e33ee0836556de470db36d0f2a8e2b99189065948c44e3553850

View file

@ -0,0 +1,33 @@
From 07d88abbfc0056bf02321bdbcd503e59143b56e7 Mon Sep 17 00:00:00 2001
From: Levente Polyak <levente@leventepolyak.net>
Date: Fri, 4 Apr 2025 17:49:22 +0200
Subject: [PATCH] fix(pyproject): declare license file property according to
PEP
Fixes #72
---
pyproject.toml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/pyproject.toml b/pyproject.toml
index 7657122..c7ab099 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -11,11 +11,16 @@ authors = [
]
urls = { "Homepage" = "https://github.com/dirkjanm/ldapdomaindump/" }
requires-python = ">=3.6"
-license = "MIT"
+license = { file = "LICENSE" }
dependencies = [
"dnspython",
"ldap3>=2.5,!=2.5.2,!=2.5.0,!=2.6"
]
+classifiers = [
+ "License :: OSI Approved :: MIT License",
+ "Programming Language :: Python :: 3",
+ "Programming Language :: Python :: 3.12",
+]
[tool.setuptools.packages.find]
include = ["ldapdomaindump"]

View file

@ -0,0 +1,29 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="Active Directory information dumper via LDAP"
HOMEPAGE="https://github.com/dirkjanm/ldapdomaindump"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
RDEPEND="${PYTHON_DEPS}
dev-python/dnspython[${PYTHON_USEDEP}]
dev-python/ldap3[${PYTHON_USEDEP}]"
PATCHES=( "${FILESDIR}/${PV}_73.patch" )
src_prepare(){
#https://github.com/dirkjanm/ldapdomaindump/issues/74
rm setup.py || die "unable to remove setup.py"
default
}

View file

@ -5,17 +5,16 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="Active Directory information dumper via LDAP"
HOMEPAGE="https://github.com/dirkjanm/ldapdomaindump"
COMMIT="50e064b11053b0846d4fb3684429c3b2b0d5c58d"
SRC_URI="https://github.com/dirkjanm/ldapdomaindump/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
LICENSE="MIT"
SLOT="0"
S="${WORKDIR}/${PN}-${COMMIT}"
KEYWORDS="amd64 ~arm64 x86"
RDEPEND="${PYTHON_DEPS}