Received: from mail-qk1-f195.google.com (mail-qk1-f195.google.com [209.85.222.195]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id EB3207819D3 for <~alpine/users@lists.alpinelinux.org>; Thu, 14 May 2020 20:49:13 +0000 (UTC) Received: by mail-qk1-f195.google.com with SMTP id m11so343384qka.4 for <~alpine/users@lists.alpinelinux.org>; Thu, 14 May 2020 13:49:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=oreWDFhJu6Pc2lmx/TXIjAU4bj0CNKbqxmhtp1zutLo=; b=JowHu6d/vhIwCTP1dCx5rUDOrqcFEXn53D2XxQl3ska8h7pHKr2HLHJKt5p0E4W0I6 ThYXhUWrxpUPunFebUHWlZdhfZu236XhblED4XLdIXi0UWAm8AM55oBl2V1bLhrNpJ5N vMvzY63ejkB+VSc/0++DaX1gCbPVHWCyCW5tahWANm0BeB8je7mIVndCGwk/OjnK7zes t+NlIMDbiV8pQP/ooNWzkUz7I0Z/cJSOR3rGs+c7INURehXWDpBWTFIgdz17NJ/UlB1i 3FbZPvp2fgzct60jvAqKqfgb5NFseOqgbM7Fp/X9/TWAGETR9gt+xQpoABQDXURjpRP4 MFxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oreWDFhJu6Pc2lmx/TXIjAU4bj0CNKbqxmhtp1zutLo=; b=sf9oercKHde8ekTQbe7ydZL8EcjVjXALOktg5I+zSlxjxtjdOsajQPD9YdGUywsllc xsVsa3MFJhUFEfD9wxqqdHT+2on4eHSF++GFjNFLKakLlE0Hoth3a1S2dCAuB8IfGA1Z Lyl0f3cAGmzG0Zn1zEqYpyGPaZ7+VByT2it4NXH5x/697do+M5/lR+1Nj2THl7PeCimb pFYwdPxANvC40fuJClI3pXvstWOxroo8TtLZpEZnwqdpq6PIJD6juwfVfhiNoG9xGS8u oD/glcFqLdxsi6FobEj/IKet/HRXlk6xGbDQJcTgb65km71Zp83+NaJjNvxJr824VNoW yAiQ== X-Gm-Message-State: AOAM531H4xN/kwkt0naZfJ5eupVylqZB3QUoDgSZuT5q9jCYyvcBOiYe jJrBzNGCizGq1nP843PGLjq2d3NA X-Google-Smtp-Source: ABdhPJxJy8IKDghRfiagCNB4SiFvnYjnlWR26Zj0JIavG7/ZtOgd/77dC8BhLo3IYVMKGpi5IjTjdg== X-Received: by 2002:a37:9c4e:: with SMTP id f75mr210314qke.175.1589489350032; Thu, 14 May 2020 13:49:10 -0700 (PDT) Received: from enterprise ([2804:431:cfcc:f95d:3102:4e18:e127:33a]) by smtp.gmail.com with ESMTPSA id z25sm241222qtj.75.2020.05.14.13.49.09 for <~alpine/users@lists.alpinelinux.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 May 2020 13:49:09 -0700 (PDT) Date: Thu, 14 May 2020 17:49:04 -0300 From: Leo To: ~alpine/users@lists.alpinelinux.org Subject: Re: APKBUILD python error no setup.py file Message-ID: <20200514174904.4bb374ee@enterprise> In-Reply-To: <20200514132048.a3ef98c2ba41e86ba6c8dab6@gmail.com> References: <20200514132048.a3ef98c2ba41e86ba6c8dab6@gmail.com> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-alpine-linux-musl) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 14 May 2020 13:20:48 -0700 amc252 wrote: Hello > Hi Leo, > here is my APKBUILD, this is my first effort, so it's quite possible > I'm doing something wrong. > > # Contributor: > # Maintainer: > pkgname=trelby > pkgver=2.3 > pkgrel=0 > pkgdesc="screenwriting program" > url=" http://www.trelby.org/" > arch="all" > license="trelby" > depends="python2 py3-lxml wxgtk py3-wxpython" > makedepends="" > install="" > subpackages="$pkgname-dev $pkgname-doc" > #source="https://github.com/oskusalerma/trelby/archive/master.zip" > #source="//home/mac/trelbyx/trelby.tar.bz" > source="https://github.com/maccagnan/trelbyx/raw/master/trelby.tar.gz" The source is busted, please use the proper upstream source which should be https://github.com/trelby/trelby/releases/download/import/trelby-2.2.tar.gz > builddir="$srcdir/" > > build() { > # Replace with proper build command(s) > : > } You need to use the proper commands here, creating the APKBUILD with `newapkbuild -y` will fill these automatically for python3 packages > > check() { > # Replace with proper check command(s) > : > } > > package() { > # Replace with proper package command(s) > : > } > > There are many more issues but those should get you going on, the other issues can be fixed in a merge request to alpine/aports