Re: [new] devel/py-cruft + dependencies devel/py-shellingham, devel/py-typer

2024-04-17 Thread Stuart Henderson
On 2024/04/16 22:44, Pavel Korovin wrote:
> On 12/12, Pavel Korovin wrote:
> > Dear all,
> > 
> > Please find attached port for cruft along with its dependency, typer module.
> > 
> > From cruft webpage:
> > cruft allows you to maintain all the necessary boilerplate for packaging
> > and building projects separate from the code you intentionally write.
> > Fully compatible with existing Cookiecutter templates.
> > 
> > Creating new projects from templates using cruft is easy:
> > 
> > And, so is updating them as the template changes overtime:
> > Many project template utilities exist that automate the copying and pasting
> > of code to create new projects. This seems great! However, once created,
> > most leave you with that copy-and-pasted code to manage through the life
> > of your project.
> > 
> > cruft is different. It automates the creation of new projects like the 
> > others,
> > but then it also helps you to manage the boilerplate through the life
> > of the project. cruft makes sure your code stays in-sync with the template
> > it came from for you.
> > 
> > Looking for OKs to commit.
> 
> Another attempt with updated py-typer.
> 
> -- 
> With best regards,
> Pavel Korovin

I don't insist, but I would drop the minimum version specs in those
ports, I don't think they really help anything and are another thing
to take care of if a port update is later reverted and we need to use
EPOCH.

For py-cruft, please change this:

-MODPY_PYBUILD = setuptools
-BUILD_DEPENDS = devel/py-poetry-core${MODPY_FLAVOR}
+MODPY_PYBUILD = poetry-core

For py-typer, please change this (I just renamed "bootstrap" to "other"
so it needs a brand new python.port.mk)

-MODPY_PYBUILD = setuptools
+MODPY_PYBUILD = other
 BUILD_DEPENDS = devel/py-pdm-backend${MODPY_FLAVOR}

With that, OK



Re: [new] devel/py-cruft + dependencies devel/py-shellingham, devel/py-typer

2024-04-16 Thread Pavel Korovin
On 12/12, Pavel Korovin wrote:
> Dear all,
> 
> Please find attached port for cruft along with its dependency, typer module.
> 
> From cruft webpage:
> cruft allows you to maintain all the necessary boilerplate for packaging
> and building projects separate from the code you intentionally write.
> Fully compatible with existing Cookiecutter templates.
> 
> Creating new projects from templates using cruft is easy:
> 
> And, so is updating them as the template changes overtime:
> Many project template utilities exist that automate the copying and pasting
> of code to create new projects. This seems great! However, once created,
> most leave you with that copy-and-pasted code to manage through the life
> of your project.
> 
> cruft is different. It automates the creation of new projects like the others,
> but then it also helps you to manage the boilerplate through the life
> of the project. cruft makes sure your code stays in-sync with the template
> it came from for you.
> 
> Looking for OKs to commit.

Another attempt with updated py-typer.

-- 
With best regards,
Pavel Korovin


py-shellingham.tgz
Description: application/tar-gz


py-typer.tgz
Description: application/tar-gz


py-cruft.tgz
Description: application/tar-gz