From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B34A0138350 for ; Sun, 19 Apr 2020 14:55:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 459B3E096E; Sun, 19 Apr 2020 14:55:42 +0000 (UTC) Received: from mail-ej1-x642.google.com (mail-ej1-x642.google.com [IPv6:2a00:1450:4864:20::642]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0FC0FE095D for ; Sun, 19 Apr 2020 14:55:41 +0000 (UTC) Received: by mail-ej1-x642.google.com with SMTP id a2so5740582ejx.5 for ; Sun, 19 Apr 2020 07:55:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:references:autocrypt:subject:message-id:date:user-agent :mime-version:in-reply-to; bh=fYg1juV9T+Zgqfh5LeKMk7FNUInrsZzGp/t07ms0tZg=; b=CNpbilvUypgFS//DdqZz7WQzPaa+vi4epViKjMk8K8EQMEGreDm684suzJ/8yq03T8 OfEds0a9kFVhk6OWYlk7LdfHH6ZEf5sPNnC6QK4N4KCVN3apituH0TI92YrU5vXrVooT 8KGSWgaD1D8mv0WFIVTkjh5lKMg6AAzYp1SbNTpGK6IA6CkKTLSYa61P+FAIfe3YssyN dclLPdO33XntQoaFe1mYZv3aZOjMabrK+flZ4bVcZVn+CCiEWGggT7sscAiVcV0bAC+N WafEB0gLpGJHVi96ioDx98ehTLuSziIUtJ2bpKTgr7REEH25jAHrphkTF2Iw5EEprkNu gwTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:references:autocrypt:subject :message-id:date:user-agent:mime-version:in-reply-to; bh=fYg1juV9T+Zgqfh5LeKMk7FNUInrsZzGp/t07ms0tZg=; b=cePv3XQg8jaJjk4plmTKT4AhygWCy1byDttR26QUnHzp7pU1iM4aRr4wyqHDrgqbyC Gakaj6nR0mkfLFDteT2gxKl/mu9Di3UbkKH2QtVz/kCSZkC0Nwv6phNtb5ZDEI+j27Bp pFDlfPkDzCfRllGUcWGBFRUBxanaM9e1bNBAsQnRTozxz1r/P9kOpopwmji0JmuZdi5l oLbh2ZgcKtJhBLC5j3XmtSGUJ66lgQFPAymB5bAiH/42GR5VyEJVA2SeLxJUom3zQ0+C N54Uind2ORMGLP6VTkAwA6ZsDa6bRzbpouKHyUUFHuC6LfYJh4BkGAulr9D6Dj0OUqDb 6lng== X-Gm-Message-State: AGi0PuY/XLolJjpBx7BSXo8UboPjo//6hxakh+WA/5hhQ6eY78FH/bDt rqu7otrPJn1B5KG7hWCG4CAUqPDD X-Google-Smtp-Source: APiQypJFVZzgmPmv4a50q0tPe25Tjyi3cWwt/aYcv0qNi1V3crLLxMo4C39rGBzmwcMU2FbCKU4LtA== X-Received: by 2002:a17:906:bb07:: with SMTP id jz7mr2215212ejb.317.1587308140414; Sun, 19 Apr 2020 07:55:40 -0700 (PDT) Received: from [192.168.0.20] (a81-84-141-10.cpe.netcabo.pt. [81.84.141.10]) by smtp.gmail.com with ESMTPSA id e9sm68101edv.59.2020.04.19.07.55.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 19 Apr 2020 07:55:39 -0700 (PDT) From: Samuel Bernardo To: Benda Xu Cc: gentoo-dev@lists.gentoo.org References: <87imi6omoq.fsf@robot.e.airelinux.org> <7a4dba08-b18b-79d5-2fa6-62169ef39a4d@gmail.com> <87y2qsw0z3.fsf_-_@robot.e.airelinux.org> Autocrypt: addr=samuelbernardo.mail@gmail.com; keydata= mQINBFB4WukBEADBSuGl9N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6Sk9k6zq7zJcg9eNkodOPIGOZ8+3DcuqdyUHIvVAAiaCEEdVB3hGLrlRaOEtc LonZt2JOETuHy9tnAxnXHE3HRsfp0UhKOwDeECUAEQEAAYkCPAQYAQIAJgIbDBYhBJ0a2kZg phQcc0OLUu2Nqc2/qzs5BQJbmruPBQkUiGImAAoJEO2Nqc2/qzs5ZEUP/i8lz9UcoKlOJc/F 8oA8jmOuEz1ODHDunik+9AzfQ3EBZPoU/uVI23GeuAM+gkmJHSG2/Wjh81IP42wjZnN9+B+V qw/KRkcAsVNN2Q/SBpjJEo6eqhM7gENVEUcM2OmjQL3embB7kmT0UmOWMiaED0h6Atrv0Bb1 aQme3j7hMpkCO6yNMOR8kJW/Kc1oOAAPcD+nNKaBQHU//Dp5rmIXH8yuzyuL2nHiJlGxgIpv b/ICh3zowEYyfF9yDNOOQzxFyuHJSlJdtpW/J2BsUWk/2xRY8++KC5btRjxeYsucxbzu9bOY C9gKj9ibr8rm5+XZ3UE2zVpEN+VY6lE3yRTH9ffFqYSkMos06rrAcwfOqhTq9Ns6RPACEcp1 e7mUBB064Thm+l06QalnC4JIUZh64QP9UXl+LdmiZk6ho/J+9APTmZIGddrUoeuWbPr89Cli w1P4Y99jjrnjTMGsXppfRH73dDXBCIHq4pBCxI5kLQuydc6wApvuTSEoiFRMZ2jsk5TnpapM gnqfc7VKihhJs1t9NKEtNs4O1Lw/CqVhAJlX8RNPnLfYCVqolbHC5B7KCaOupU6c+8PE7MQ+ jdD+vpjpZuHjeerUH5eGSyyZEe9+8G11KHumFhVeRJ9H8WQDIvxljsZoLvNFQQy2C3cJJ1L0 GipSQxzAjo3QfZ9192g1 Subject: [gentoo-dev] Re: [PR] ivy, mvn, sbt, gradle builders improvement for ebuild development Message-ID: <512a263d-57b4-333f-39cf-ea99afad6bfd@gmail.com> Date: Sun, 19 Apr 2020 15:55:54 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: <87y2qsw0z3.fsf_-_@robot.e.airelinux.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="yKrdnsB0WyCFOmgI4w0YviL5B0Y60bvbX" X-Archives-Salt: 3207dd18-0ed2-4c32-86a9-e9ff03ba7f3c X-Archives-Hash: 5d1afdb34e67d4cc63d66ff4fb834c2a This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --yKrdnsB0WyCFOmgI4w0YviL5B0Y60bvbX Content-Type: multipart/mixed; boundary="rJBBXKuiWVmZnaqYomX94b9my9bHVYNMv"; protected-headers="v1" From: Samuel Bernardo To: Benda Xu Cc: gentoo-dev@lists.gentoo.org Message-ID: <512a263d-57b4-333f-39cf-ea99afad6bfd@gmail.com> Subject: Re: [PR] ivy, mvn, sbt, gradle builders improvement for ebuild development References: <87imi6omoq.fsf@robot.e.airelinux.org> <7a4dba08-b18b-79d5-2fa6-62169ef39a4d@gmail.com> <87y2qsw0z3.fsf_-_@robot.e.airelinux.org> In-Reply-To: <87y2qsw0z3.fsf_-_@robot.e.airelinux.org> --rJBBXKuiWVmZnaqYomX94b9my9bHVYNMv Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US Hi Benda, Thanks for the reference to Java Packing policy since I haven't read it before. I also forget to mention maven build system in last email, but for now I'm only focused on scala and sbt. On 4/19/20 5:31 AM, Benda Xu wrote: > That's a good idea. What's your plan to realize the eclasses? Taking into account the network sandbox requirement, sbt.eclass needs to download all dependencies with some approach like EGO_SUM implementation in go-module.eclass[1]. Looking in more detail to scala ebuild[2] as a reference, as a quick brainstorm, I think that could be defined: sbt.eclass - ESBTV =3D This would set the DEPEND for sbt and set the necessary steps to java-pkg-2_pkg_setup, check-reqs_pkg_setup, check-reqs_pkg_pretend, java-pkg_getjars and do the substitution of SBTV in build.properties if required - envset parameters (src_prepare): definition of parameters to set necessary environment for sbt wrapper that use defined ESBTV - ESBT_SUM =3D - esbt_compile, esbt_run, esbt_package functions: to run sbt using envset wrapper in compile, test and install as necessary scala.eclass - ESCALAV =3D - ... to be defined as required Best, Samuel [1] https://devmanual.gentoo.org/eclass-reference/go-module.eclass/index.html= [2] https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-lang/scala/scala-2.12.= 10.ebuild --rJBBXKuiWVmZnaqYomX94b9my9bHVYNMv-- --yKrdnsB0WyCFOmgI4w0YviL5B0Y60bvbX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEnRraRmCmFBxzQ4tS7Y2pzb+rOzkFAl6cZn0ACgkQ7Y2pzb+r OznDtxAAqbIHnUYv4SaPSXPXOnZLvA088xZvOyr9kAjypytHFZ1jDoieJln1bYwp 37R6ws3K0Mxz/+hp1JAzjUjaixAiqPUY2RDLgMs2ALantwZrJ9wLsTZsxtVFHonA JtvMXsbyQqtRUujX5v07ZuLQSNBVhqeHeo84zQkOB5FI/ox0me5cOFQl4GxmL7O6 bcFOHapdwtFT4qie3fFGvNMuRTilptv9EyLtp7W72cmFefpYkrsPYHPiJIsNDwBs P5cDP4lvS6n0V/Z2agwXgSo6MD2hCw1Ou0la96vgc32NNgXtO3nMr2y/ZBJMg80u n0QtavJXnFFmHR98i+K6hYrjW1ku2U8VS99/5Q2aJKSpITMdH+Neb6Cq7y5SCAmF Sjq2pYh9mtzMFn6HrY4mdO2/4SuRsVMBDmr5Jwt8Lf/iLIisOszFoxjdfVrqmXDx +Jcwv7fxIhITUO9EfP6T5EfUJLHjVXBuFMkD5ZaWLLwhQ0V2axpZslSQZ0mMACEz hSLdxY5Mf2Om1KTb1SQXhnRfeKjO8JMYfl0X6UNFe4/bspj6nYwWtSBdyZx0zXJ0 PczDV0Nqb2jt8u6pBgdYZxJBKuGMvXp60DPS87Y8X/yx0GwRDUWhmGIKzTec8o4w tqsdRpdKnxiTR0fF7i7Wq5S1soIk+lSa1BqGG/jPw8x6GOl9CXk= =eJi6 -----END PGP SIGNATURE----- --yKrdnsB0WyCFOmgI4w0YviL5B0Y60bvbX--