summaryrefslogtreecommitdiff
path: root/dev-python/imagesize
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/imagesize')
-rw-r--r--dev-python/imagesize/Manifest1
-rw-r--r--dev-python/imagesize/imagesize-2.0.0.ebuild27
-rw-r--r--dev-python/imagesize/metadata.xml13
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/imagesize/Manifest b/dev-python/imagesize/Manifest
new file mode 100644
index 000000000000..af241c061e31
--- /dev/null
+++ b/dev-python/imagesize/Manifest
@@ -0,0 +1 @@
+DIST imagesize-2.0.0.tar.gz 1773045 BLAKE2B c0a90f7fc4e84f4c147f79ac17fff44bcd33d1de755a35f2c1fa1c0886c1d50703d783940361cee61062dd8b2572c5b4fd6f1e22c892709f6d6ef5e62ec99159 SHA512 55aa54194190bf7a0182237698d3ad36ba2e390f90c3ee35ad76fca808b08e1a794df10c3d8cac18e3c42f97c911cd5bb758458eb6efdf9b626e0d5946c1427c
diff --git a/dev-python/imagesize/imagesize-2.0.0.ebuild b/dev-python/imagesize/imagesize-2.0.0.ebuild
new file mode 100644
index 000000000000..eaa6ea454fdb
--- /dev/null
+++ b/dev-python/imagesize/imagesize-2.0.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Pure Python module for getting image size from png/jpeg/jpeg2000/gif files"
+HOMEPAGE="
+ https://github.com/shibukawa/imagesize_py/
+ https://pypi.org/project/imagesize/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-solaris"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # requires Internet
+ test/test_get_filelike.py::test_get_filelike
+)
diff --git a/dev-python/imagesize/metadata.xml b/dev-python/imagesize/metadata.xml
new file mode 100644
index 000000000000..ea7ee1ec0e52
--- /dev/null
+++ b/dev-python/imagesize/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches />
+ <upstream>
+ <bugs-to>https://github.com/shibukawa/imagesize_py/issues</bugs-to>
+ </upstream>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>