diff options
Diffstat (limited to 'dev-python/imagesize')
-rw-r--r-- | dev-python/imagesize/Manifest | 6 | ||||
-rw-r--r-- | dev-python/imagesize/imagesize-0.7.1.ebuild | 4 | ||||
-rw-r--r-- | dev-python/imagesize/imagesize-1.0.0.ebuild | 27 | ||||
-rw-r--r-- | dev-python/imagesize/metadata.xml | 2 |
4 files changed, 35 insertions, 4 deletions
diff --git a/dev-python/imagesize/Manifest b/dev-python/imagesize/Manifest index 0fe9e0b023ab..09e8b3a3ca67 100644 --- a/dev-python/imagesize/Manifest +++ b/dev-python/imagesize/Manifest @@ -1,3 +1,5 @@ DIST imagesize-0.7.1.tar.gz 2871 BLAKE2B c458527576b9e55d7bb501667b1283a6362b408339c385c6dc1201538668d0c4708973c8b94faea7151195304eac78071770fc068a65f0b9565f50ea7808395e SHA512 61ff92167cc90bb1dcc78bb358419a526f09dc567709548bbe399694aa15dab63744f56c67bf33a940f5f443fd3a5ddc08ef9e17799b6fede1b11c0ad6a17f75 -EBUILD imagesize-0.7.1.ebuild 605 BLAKE2B 51b62a83e919d0b979c6d30faa83ef16ac27d44724fe012268033a02322137d19cd4c2879c79a956f22d236bd4b8d4dea30ae978ebaaa2c84a2e8b68f9f6a90a SHA512 2c24141cac26bf813f2aa7da306161280ed6fdf0e5970b30b8d350e53f568a8f4ea10d7d090017eee50a2172833038010d62ba5e704cd719eacf09f1e2d0c746 -MISC metadata.xml 313 BLAKE2B ce2d348631a435b89ca75a2279ac1bf07fc70d49caa064416b68acec2d7a07720a80683be2afdacfff28290f8a08428d650584562031059e345118775a72b07c SHA512 2d42588c1fced4bb920c8bcf5ac2f090c3ea55873f448a216bd4dc85882a861652f6fe8f8d230789f99e2e33efa854860b2b2e7cdf210dad3e1d60c3c46d7750 +DIST imagesize-1.0.0.tar.gz 465373 BLAKE2B aadb78abb6cdba8083c123313e4e35bc2d83cff4034357c6806c9231e6e0be570c871a5ed2e975337a91741aea6ac7643c4cfe3a19e12c184cab0b2f3f51fdd4 SHA512 1111d284cfdb8b14bc09dd0dd569434c62225f0b8da5ca5c00a740fce095c382efafcba73a4000e38b91418775518707693675c2d3c2dafb1036fc4aadb91e64 +EBUILD imagesize-0.7.1.ebuild 629 BLAKE2B 7f237c42ac6f8fdccaad059052d4a698770e87b4ae0683add2a0dbaba81b2a110f0e8303c911b5f8293368cc4d6d01231831a10883c7d2bff0c3acf7f223c848 SHA512 6d6ca990a1cab5cba1cbefa559aa7f6f7ccc6f291b9e85c0c1c8fdf9268275eaba7ba93f9f858501037602aca0466d6cbe566dc175270fd3014a720d209c4785 +EBUILD imagesize-1.0.0.ebuild 701 BLAKE2B d139af2b19762a2fc9c36452ebe46816b55e7e589b9bfa4ed97f2a5e4d5d98903908c181e76b8058433f6f22858b5a008fc57e0a2cde3ea0ca502a55b7f6fbbf SHA512 75d089e9deefa2cef4656e2398d17cc5871da1080745ef1b19328d6f951bf68f34304b1e39bc8eaac4cac0926a929876d1aace1c27cc24341cea1a5beb44b71c +MISC metadata.xml 434 BLAKE2B 946bd353c48c258821176debdb575437e538092c2b0d618355ed90883cb5b6e91a6de1f9f842c0c6df002e69ed6bf37bf9a087ab4fab4c57ca36bb918f67d723 SHA512 3c4d3637bad987db6e9c46a46d51cf59cef4e067b5bc6b6e47ab5da5f257db8dc67c35c0f52f7f4ec0522acb527beaacd22bddc6c47282be6e1552bdac5003eb diff --git a/dev-python/imagesize/imagesize-0.7.1.ebuild b/dev-python/imagesize/imagesize-0.7.1.ebuild index b612ff39ade5..c4f69669e4c5 100644 --- a/dev-python/imagesize/imagesize-0.7.1.ebuild +++ b/dev-python/imagesize/imagesize-0.7.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -7,7 +7,7 @@ PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) inherit distutils-r1 -DESCRIPTION="Getting image size from png/jpeg/jpeg2000/gif file" +DESCRIPTION="Pure Python module for getting image size from png/jpeg/jpeg2000/gif files" HOMEPAGE="https://github.com/shibukawa/imagesize_py" SRC_URI="https://pypi.python.org/packages/53/72/6c6f1e787d9cab2cc733cf042f125abec07209a58308831c9f292504e826/${P}.tar.gz" diff --git a/dev-python/imagesize/imagesize-1.0.0.ebuild b/dev-python/imagesize/imagesize-1.0.0.ebuild new file mode 100644 index 000000000000..b24b21fe5370 --- /dev/null +++ b/dev-python/imagesize/imagesize-1.0.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5,6,7}} ) + +inherit distutils-r1 + +DESCRIPTION="Pure Python module for getting image size from png/jpeg/jpeg2000/gif files" +HOMEPAGE="https://github.com/shibukawa/imagesize_py" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x64-solaris" +IUSE="test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) +" +RDEPEND="" + +python_test() { + py.test || die "tests failed with ${EPYTHON}" +} diff --git a/dev-python/imagesize/metadata.xml b/dev-python/imagesize/metadata.xml index 1d45d9286d9f..5a1a7480cf2a 100644 --- a/dev-python/imagesize/metadata.xml +++ b/dev-python/imagesize/metadata.xml @@ -5,6 +5,8 @@ <email>python@gentoo.org</email> </maintainer> <upstream> + <remote-id type="pypi">imagesize</remote-id> <remote-id type="github">shibukawa/imagesize_py</remote-id> + <bugs-to>https://github.com/shibukawa/imagesize_py/issues</bugs-to> </upstream> </pkgmetadata> |