diff options
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/atpublic/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/atpublic/atpublic-2.1.3.ebuild | 29 | ||||
| -rw-r--r-- | dev-python/django-auth-ldap/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/django-auth-ldap/django-auth-ldap-2.3.0.ebuild | 38 | ||||
| -rw-r--r-- | dev-python/pystring/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pystring/metadata.xml | 16 | ||||
| -rw-r--r-- | dev-python/pystring/pystring-1.1.3.ebuild | 28 |
7 files changed, 114 insertions, 0 deletions
diff --git a/dev-python/atpublic/Manifest b/dev-python/atpublic/Manifest index 33894b1b4cb1..e64b94195aa8 100644 --- a/dev-python/atpublic/Manifest +++ b/dev-python/atpublic/Manifest @@ -1,2 +1,3 @@ DIST atpublic-1.0.tar.gz 13611 BLAKE2B b5ce4cbbe950943c001e25c3f0c1fe6c25a99a96e4c630844a409cb0ae9a2e7d8fae8d010864364bb2bc948ce78ed17bef5c1f1ca1435faca439f62521bcc719 SHA512 f9e6f7bbbe12d86df5bc849c432e789fb55c6d19b9d6b3fb2462ea38aa8ad6602504a30a95ec14e001f62709ae5e11ae29258b9cb7a71eaa48879f9cb0cb19d8 DIST atpublic-2.1.2.tar.gz 16298 BLAKE2B c388743e2348b9143926f4c3a5e7908382799b6728d1768fcc5779eae93d45b5741ec080b5255de39be14a2a3a9e2fecc657802f91df1df8e626910582785a9b SHA512 cfde028756f56c7ca83b91e7d8653cee4575fb581669ee02c56a08c92ae2a6c1e51db76b6def1959354d3e931418a4dd09b78236268170d8c79620477836fe08 +DIST atpublic-2.1.3.tar.gz 16373 BLAKE2B a93a53fbee7b46eb949090d6c8ffa911db613b926f9acdd56932576b492a5ac3949ba958ff6bb988e0f2783c4630a7bffd9610af41cc983a63983d198962b342 SHA512 deba5654471330454b6327e0911f71426e31f78128b8c5607e4dfca292f017da2c2326a6a59e76097ed30560e3404a47a0c0e034bc053c8348c20f40c002ec9f diff --git a/dev-python/atpublic/atpublic-2.1.3.ebuild b/dev-python/atpublic/atpublic-2.1.3.ebuild new file mode 100644 index 000000000000..b2205e06ff1f --- /dev/null +++ b/dev-python/atpublic/atpublic-2.1.3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="A decorator to populate __all__ and the module globals" +HOMEPAGE="https://gitlab.com/warsaw/public" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' python3_7)" +BDEPEND=" + test? ( dev-python/sybil[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e 's:--cov=public::' setup.cfg || die + distutils-r1_src_prepare +} diff --git a/dev-python/django-auth-ldap/Manifest b/dev-python/django-auth-ldap/Manifest index 79f8d7f469cb..811881272955 100644 --- a/dev-python/django-auth-ldap/Manifest +++ b/dev-python/django-auth-ldap/Manifest @@ -1,2 +1,3 @@ DIST django-auth-ldap-2.1.0.tar.gz 51027 BLAKE2B 1229d184746cf05f9c7ddb9e6674b2c529a0fc6d051f78ba01de6a80b0e5e408a8da10e35087efad60f1fef90be708e8a0c05b04c4408500329d9dfb567c0f8b SHA512 4c204eee856e33fae80a22a80bd0f3a21d1f2ee33b1ad56087832f89e91d7e1441579cf77541c1c35e8e0532d4da937b736fe3b4708d7c2d7bbccacbb0b24061 DIST django-auth-ldap-2.2.0.tar.gz 53148 BLAKE2B 1f83a2f174d9fcbd264ce7e298c0dfebc720482b058e55833416440627c9e1fc02f2ad4e585e6fe01102f100337df5835020b8ff48a5dccb850cfff28ef902a0 SHA512 2ed1913e81a4801d683280586018df57067ec84b44299da4c6415452c978c8f1d2ca1d36eaced40efa0737180d7e35971e4570753f60d946b32d846b455ab744 +DIST django-auth-ldap-2.3.0.tar.gz 53383 BLAKE2B a07b487f386cec06b89a90979ef904790fcc1460bf0cab5a5b3539b4fee28cc281487c0db1996ac5b1d2bae756cb8a353fa92796654b689a82a13854cb1be9dd SHA512 08bde0ea25baaf1bcc42b500572e63636ab247a846222d3f16f25874c26c6799b37fa23dc2bfde3dfbcfb041c942ec7a2e7a4e6c7bb391eb3210568f77a8657b diff --git a/dev-python/django-auth-ldap/django-auth-ldap-2.3.0.ebuild b/dev-python/django-auth-ldap/django-auth-ldap-2.3.0.ebuild new file mode 100644 index 000000000000..8e5932d8ff43 --- /dev/null +++ b/dev-python/django-auth-ldap/django-auth-ldap-2.3.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Django LDAP authentication backend" +HOMEPAGE="https://github.com/django-auth-ldap/django-auth-ldap + https://pypi.org/project/django-auth-ldap/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +LICENSE="BSD-2" +SLOT="0" + +RDEPEND=" + >=dev-python/django-2.2[${PYTHON_USEDEP}] + >=dev-python/python-ldap-3.1[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + net-nds/openldap[-minimal] + )" + +distutils_enable_sphinx docs --no-autodoc + +python_test() { + # for slapd and slapdtest + local -x SBIN=/usr/sbin:/usr/$(get_libdir)/openldap + django-admin test -v 2 --settings tests.settings \ + || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/pystring/Manifest b/dev-python/pystring/Manifest new file mode 100644 index 000000000000..eb3773a17b36 --- /dev/null +++ b/dev-python/pystring/Manifest @@ -0,0 +1 @@ +DIST pystring-1.1.3.tar.gz 18364 BLAKE2B caab1a3b1dc688ad6ecbb32e5e8139bb883a88b78ce8a021229924d57376e94b17d89277e2fccf4f7ec478c81ee9259c5e56848f4388c44b2eab9cfb841bcfb8 SHA512 a46bb2e96d6eb351a4a8097cde46ac2877d28e88f9e57e0ac36c42e8fc8543517c4be70306a01e2f88a891fc53c612494aeb37f47a200d94b8e1b050ed16eff6 diff --git a/dev-python/pystring/metadata.xml b/dev-python/pystring/metadata.xml new file mode 100644 index 000000000000..d6ba94d175ad --- /dev/null +++ b/dev-python/pystring/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>parona@protonmail.com</email> + <name>Alfred Wingate</name> + </maintainer> + <maintainer type="project"> + <email>dev@liguros.net</email> + <name>Development</name> + </maintainer> + <upstream> + <remote-id type="github">imageworks/pystring</remote-id> + </upstream> + <origin>ports</ports> +</pkgmetadata> diff --git a/dev-python/pystring/pystring-1.1.3.ebuild b/dev-python/pystring/pystring-1.1.3.ebuild new file mode 100644 index 000000000000..d7d9e531ac6f --- /dev/null +++ b/dev-python/pystring/pystring-1.1.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 2021 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=7 + +DESCRIPTION="C++ functions matching the interface and behavior of python string methods" +HOMEPAGE="https://github.com/imageworks/pystring" + +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/imageworks/pystring.git" +else + SRC_URI="https://github.com/imageworks/pystring/archive/v"${PV}".tar.gz -> "${P}".tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="all-rights-reserved" +SLOT="0" + +src_compile() { + emake LIBDIR="${S}" install + mkdir pystring || die + mv pystring.h pystring || die +} + +src_install() { + dolib.so libpystring.so{,.0{,.0.0}} + doheader -r pystring +} |
