Heat oil in a skillet over medium heat; stir in onion and garlic. Season with salt and pepper. Cook and stir until the onion has softened and turned translucent, about 5 minutes. Add tomato puree, red wine, basil, and oregano. Increase heat a touch and bring to a simmer. Cook until sauce reaches desired consistency, 1 1/2 to 2 hours. Stir in butter and sugar; simmer for 10 more minutes. Remove from heat, allow to cool, and refrigerate 8 hours to overnight. For a smooth sauce, remove onion and garlic pieces before spreading sauce on pizza crust. For a chunky sauce, use as is.