#1 Post-adoption housekeeping
Merged 6 months ago by gui1ty. Opened 6 months ago by gui1ty.
rpms/ gui1ty/legofy adoption  into  rawhide

file modified
+1
@@ -1,1 +1,2 @@ 

  /legofy-1.0.0.tar.gz

+ /Legofy-0cadceb9f412636c11eb62370682a43ae329e4cb.tar.gz

file added
+71
@@ -0,0 +1,71 @@ 

+ * Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-24

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

+ 

+ * Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.0.0-23

+ - Rebuilt for Python 3.12

+ 

+ * Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-22

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

+ 

+ * Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-21

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

+ 

+ * Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.0.0-20

+ - Rebuilt for Python 3.11

+ 

+ * Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-19

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

+ 

+ * Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-18

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

+ 

+ * Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.0.0-17

+ - Rebuilt for Python 3.10

+ 

+ * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-16

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

+ 

+ * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-15

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

+ 

+ * Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-14

+ - Rebuilt for Python 3.9

+ 

+ * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-13

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

+ 

+ * Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-12

+ - Rebuilt for Python 3.8.0rc1 (#1748018)

+ 

+ * Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-11

+ - Rebuilt for Python 3.8

+ 

+ * Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-10

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

+ 

+ * Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-9

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

+ 

+ * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-8

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

+ 

+ * Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-7

+ - Rebuilt for Python 3.7

+ 

+ * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-6

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

+ 

+ * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-5

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

+ 

+ * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-4

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

+ 

+ * Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-3

+ - Rebuild for Python 3.6

+ 

+ * Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2

+ - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages

+ 

+ * Fri Mar 11 2016 Omar Berroteran Silva <omarberroteranlkf@gmail.com> - 1.0.0-1

+ - Initial Package

file removed
-108
@@ -1,108 +0,0 @@ 

- diff -urN ../legofy-origen/LICENSE ./LICENSE

- --- ../legofy-origen/LICENSE	1969-12-31 18:00:00.000000000 -0600

- +++ ./LICENSE	2016-03-10 19:30:26.631146593 -0600

- @@ -0,0 +1,22 @@

- +The MIT License (MIT)

- +

- +Copyright (c) 2015 Juan Potato 

- +All rights reserved

- +

- +Permission is hereby granted, free of charge, to any person obtaining a copy

- +of this software and associated documentation files (the "Software"), to deal

- +in the Software without restriction, including without limitation the rights

- +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell

- +copies of the Software, and to permit persons to whom the Software is

- +furnished to do so, subject to the following conditions:

- +

- +The above copyright notice and this permission notice shall be included in all

- +copies or substantial portions of the Software.

- +

- +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR

- +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,

- +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE

- +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER

- +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,

- +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE

- +SOFTWARE.

- diff -urN ../legofy-origen/README.md ./README.md

- --- ../legofy-origen/README.md	1969-12-31 18:00:00.000000000 -0600

- +++ ./README.md	2016-03-10 19:31:46.633962174 -0600

- @@ -0,0 +1,78 @@

- +# Legofy [![Build Status](https://travis-ci.org/JuanPotato/Legofy.svg?branch=master)](https://travis-ci.org/JuanPotato/Legofy) [![PyPI Downloads](https://img.shields.io/pypi/dm/legofy.svg)](https://pypi.python.org/pypi/legofy) [![PyPI version](https://img.shields.io/pypi/v/legofy.svg)](https://pypi.python.org/pypi/legofy) [![License](https://img.shields.io/pypi/l/legofy.svg)](https://pypi.python.org/pypi/legofy) [![Coverage Status](https://coveralls.io/repos/JuanPotato/Legofy/badge.svg?branch=master&service=github)](https://coveralls.io/github/JuanPotato/Legofy?branch=master) [![Code Health](https://landscape.io/github/JuanPotato/Legofy/master/landscape.svg?style=flat)](https://landscape.io/github/JuanPotato/Legofy/master) [![Join the chat at https://gitter.im/JuanPotato/Legofy](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/JuanPotato/Legofy?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

- +

- +

- +### What is it?

- +Legofy is a python program that takes a static image or gif and makes it so that it looks as if it was built out of LEGO.

- +

- +<a href="https://commons.wikimedia.org/wiki/File:Zoysia_grass_flower.jpg">

- +<img alt="Before" title="Before (The inflorescence of Zoysia grass, a variety of lawn grass. Picture by Hari Krishnan)" height="500" src="legofy/assets/flower.jpg?raw=true">

- +</a>

- +<img alt="After" title="After" height="500" src="legofy/assets/flower_lego.png?raw=true">

- +

- +

- +### Requirements

- +* Python

- +* Python modules: Pillow, click # pip will install these automatically if using `pip install legofy`

- +* imagemagick # not needed but recommended

- +

- +### Bugs

- +If you find a bug:

- +  1. Check in the [open issues](https://github.com/JuanPotato/Legofy/issues) if the bug already exists.

- +  2. If the bug is not there, create a [new issue](https://github.com/JuanPotato/Legofy/issues/new) with clear steps on how to reproduce it.

- +

- +### Quickstart

- +```shell

- +$ pip install legofy

- +```

- +or install from source

- +```shell

- +$ git clone https://github.com/JuanPotato/Legofy.git

- +$ cd Legofy

- +$ python setup.py install

- +```

- +Wait! I don't know what any of this means? Use pip then, or if you really want to install from source [have some help.](#installation)

- +

- +### Usage

- +```

- +Usage: legofy [OPTIONS] IMAGE [OUTPUT]

- +

- +  Legofy an image!

- +

- +Options:

- +  --size INTEGER                  Number of bricks the longest side of the legofied image should have.

- +  --dither / --no-dither          Use dither algorithm to spread the color approximation error.

- +  --palette [all|effects|mono|solid|transparent]

- +                                  Palette to use based on real Lego colors.

- +  --help                          Show this message and exit.

- +```

- +

- +#### Palette

- +There are 3 palettes: solid (33 colors), transparent (14 colors) and effects (4 colors).

- +You can use one of them or all the 3.

- +```shell

- +$ legofy --palette solid image.jpg

- +$ legofy --palette transparent image.jpg

- +$ legofy --palette effects image.jpg

- +$ legofy --palette all image.jpg

- +```

- +There is another one palette, mono, with only 2 colors (black and white...). It's just for test and fun...

- +

- +

- +### Troubleshooting

- + * [Mac](http://pillow.readthedocs.org/en/3.0.x/installation.html#os-x-installation)

- + * [Linux](http://pillow.readthedocs.org/en/3.0.x/installation.html#linux-installation)

- + * [Windows](http://pillow.readthedocs.org/en/3.0.x/installation.html#windows-installation)

- +

- +### Installation

- +1. Download and install all requirements

- + * python from the [official python website](https://www.python.org/)

- + * imagemagick from the [official imagemagick website](https://imagemagick.org/)

- +2. Download this project by using the download zip button on this page, or running `git clone https://github.com/JuanPotato/Legofy`

- + * If you downloaded a zip file, please unzip it

- +3. Open a command line and navigate to the project folder

- +4. Run `python setup.py install` while in the project folder

- +5. You can now use Legofy anywhere, see [usage](#usage) for more help

- +

- +### Forks

- +

- +* JavaScript: [Legofy](https://github.com/Wildhoney/Legofy)

file modified
+28 -91
@@ -1,113 +1,50 @@ 

+ # Pull from GitHub, since it has fixes not released on PyPI and contains

+ # the LICENSE file as well as an additional doc.

+ %global forgeurl https://github.com/JuanPotato/Legofy

+ %global commit 0cadceb9f412636c11eb62370682a43ae329e4cb

+ 

  Name:           legofy

  Version:        1.0.0

- Release:        24%{?dist}

- Summary:        Takes a image and makes it so that it looks as if it was built out of LEGO

- 

+ Release:        %autorelease

+ Summary:        Make images look as if they are made out of 1x1 LEGO blocks

+ %forgemeta

+ # SPDX identifier

  License:        MIT

- URL:            https://github.com/JuanPotato/Legofy

- Source0:        https://pypi.python.org/packages/source/l/%{name}/%{name}-%{version}.tar.gz

+ URL:            %forgeurl

+ Source0:        %forgesource

  Source1:        %{name}.1

- Patch1:         legofy-format.patch

  

  BuildArch:      noarch

  BuildRequires:  python3-devel

- BuildRequires:  python3-setuptools

- Requires:       python3-click

- Requires:       python3-pillow

  

  %description

- Legofy is a python program that takes a static image or gif and makes it so that

- it looks as if it was built out of LEGO.

+ Legofy is a python program that takes a static image or gif and makes

+ it so that it looks as if it was built out of LEGO.

  

  

  %prep

- %autosetup

- 

- 

- %build

- %py3_build

- 

- %install

- %py3_install

- install -pDm644 %{SOURCE1} %{buildroot}%{_mandir}/man1/legofy.1

- 

- 

- %files

- %{python3_sitelib}/*

- %{_bindir}/*

- %{_mandir}/man1/*

- %doc README.md

- %license LICENSE

- 

- %changelog

- * Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-24

- - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

- 

- * Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.0.0-23

- - Rebuilt for Python 3.12

- 

- * Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-22

- - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

- 

- * Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-21

- - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

+ %forgeautosetup -p1

  

- * Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.0.0-20

- - Rebuilt for Python 3.11

  

- * Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-19

- - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

+ %generate_buildrequires

+ %pyproject_buildrequires

  

- * Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-18

- - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

  

- * Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.0.0-17

- - Rebuilt for Python 3.10

- 

- * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-16

- - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

- 

- * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-15

- - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

- 

- * Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-14

- - Rebuilt for Python 3.9

- 

- * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-13

- - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

- 

- * Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-12

- - Rebuilt for Python 3.8.0rc1 (#1748018)

- 

- * Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-11

- - Rebuilt for Python 3.8

- 

- * Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-10

- - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

- 

- * Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-9

- - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

- 

- * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-8

- - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

- 

- * Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-7

- - Rebuilt for Python 3.7

+ %build

+ %pyproject_wheel

  

- * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-6

- - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

  

- * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-5

- - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

+ %install

+ %pyproject_install

+ %pyproject_save_files %{name}

+ install -pDm644 %{SOURCE1} %{buildroot}%{_mandir}/man1/legofy.1

  

- * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-4

- - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

  

- * Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-3

- - Rebuild for Python 3.6

+ %files -f %{pyproject_files}

+ %{_bindir}/%{name}

+ %{_mandir}/man1/%{name}*

+ %doc README.md 2010-LEGO-color-palette.pdf

  

- * Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2

- - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages

  

- * Fri Mar 11 2016 Omar Berroteran Silva <omarberroteranlkf@gmail.com> - 1.0.0-1

- - Initial Package 

+ %changelog

+ %autochangelog

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- 877c6bcdc933b2b5cb3e6b96b8fde813  legofy-1.0.0.tar.gz

+ SHA512 (Legofy-0cadceb9f412636c11eb62370682a43ae329e4cb.tar.gz) = fa945553e7f69baaf3d8a6d7df782cd6e58f3963a3dfde1cc7f9f8d9a957342100494c13c2f9bf0a756221c5742a1b81eac681605b1463e7c3f8bd39d0d649bb

  • Convert to %autorelease and %autochangelog
  • Update summary (follow upstream)
  • Use forge macros
  • Use %pyproject macros
  • Migrate to SPDX license (no change)

Pull-Request has been merged by gui1ty

6 months ago